File size: 4,302 Bytes
50202e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name: kforge
description: Artifact registry and build pipeline manager for managing container images, packages, and deployment pipelines
binary: kforge
auth:
  type: env_var
  key: KFORGE_API_TOKEN
commands:
  - name: artifact list
    description: List artifacts in a namespace with optional filtering by type and date
    args:
      - name: namespace
        type: string
        required: true
        description: Artifact namespace (e.g. team-backend)
      - name: type
        type: enum
        required: false
        description: Filter by artifact type
        values: ["docker", "npm", "pypi", "binary"]
      - name: since
        type: datetime
        required: false
        description: Only show artifacts published after this date (ISO 8601)
      - name: limit
        type: int
        required: false
        description: Maximum number of artifacts to return
    output_format: json
    side_effects: false
    example: "kforge artifact list --namespace team-backend --type docker --since 2026-03-01T00:00:00Z"

  - name: artifact inspect
    description: Get detailed metadata for a specific artifact including layers, size, and build info
    args:
      - name: id
        type: string
        required: true
        description: Artifact ID (e.g. art-a1b2c3)
    output_format: json
    side_effects: false
    example: "kforge artifact inspect --id art-a1b2c3"

  - name: pipeline trigger
    description: Trigger a deployment pipeline for an artifact to a target environment
    args:
      - name: artifact
        type: string
        required: true
        description: Artifact ID to deploy
      - name: target
        type: enum
        required: true
        description: Target deployment environment
        values: ["staging", "production"]
      - name: params
        type: json
        required: false
        description: Pipeline parameters as JSON object
      - name: dry-run
        type: bool
        required: false
        description: Simulate the pipeline without executing
    output_format: json
    side_effects: true
    example: "kforge pipeline trigger --artifact art-a1b2c3 --target staging --params '{\"replicas\": 3}'"

  - name: pipeline status
    description: Check the status of a running or completed pipeline execution
    args:
      - name: id
        type: string
        required: true
        description: Pipeline execution ID (e.g. pipe-x1y2z3)
    output_format: json
    side_effects: false
    example: "kforge pipeline status --id pipe-x1y2z3"

  - name: registry create
    description: Create a new artifact namespace/registry
    args:
      - name: namespace
        type: string
        required: true
        description: Namespace name (must be unique, lowercase with hyphens)
      - name: description
        type: string
        required: true
        description: Human-readable description of the registry
      - name: visibility
        type: enum
        required: false
        description: Registry visibility
        values: ["private", "internal", "public"]
    output_format: json
    side_effects: true
    example: "kforge registry create --namespace ml-models --description 'ML model artifacts' --visibility internal"

  - name: artifact promote
    description: Promote an artifact from one environment to another
    args:
      - name: id
        type: string
        required: true
        description: Artifact ID to promote
      - name: from
        type: enum
        required: true
        description: Source environment
        values: ["staging", "production"]
      - name: to
        type: enum
        required: true
        description: Destination environment
        values: ["staging", "production"]
    output_format: json
    side_effects: true
    example: "kforge artifact promote --id art-a1b2c3 --from staging --to production"

  - name: artifact delete
    description: Delete an artifact by ID (cannot delete promoted artifacts)
    args:
      - name: id
        type: string
        required: true
        description: Artifact ID
      - name: force
        type: bool
        required: false
        description: Force deletion even if artifact has active deployments
    output_format: json
    side_effects: true
    example: "kforge artifact delete --id art-a1b2c3"