@stigmer/protos 3.12.1 → 3.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +6 -14
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +2 -2
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +0 -138
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +3 -13
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +8 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +1 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +4 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +4 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +4 -3
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +7 -2
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +2 -2
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +1 -1
- package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +23 -0
- package/ai/stigmer/agentic/skill/v1/command_connect.js +24 -1
- package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +23 -1
- package/ai/stigmer/agentic/skill/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +137 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.js +22 -7
- package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +22 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.js +23 -2
- package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +22 -2
- package/ai/stigmer/agentic/skill/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +0 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +5 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.d.ts +7 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.d.ts +14 -4
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +4 -4
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +6 -6
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +2 -2
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +0 -10
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -1
- package/grpc/health/v1/health_connect.d.ts +75 -0
- package/grpc/health/v1/health_connect.js +97 -0
- package/grpc/health/v1/health_connect.js.map +1 -0
- package/grpc/health/v1/health_pb.d.ts +157 -0
- package/grpc/health/v1/health_pb.js +75 -0
- package/grpc/health/v1/health_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -124,12 +124,13 @@ export declare const McpServerCommandController: GenService<{
|
|
|
124
124
|
* @internal
|
|
125
125
|
* Typical flows:
|
|
126
126
|
* - Web console: user clicks Connect, backend resolves env vars from the
|
|
127
|
-
* user's personal environment, starts a Temporal workflow on the
|
|
127
|
+
* user's personal environment, starts a Temporal workflow on the runner
|
|
128
|
+
* (stigmer-runner).
|
|
128
129
|
* - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
|
|
129
130
|
* populated from local env vars, delegating discovery to the backend.
|
|
130
|
-
* -
|
|
131
|
+
* - Runner backfill: the runner calls connect on first use when
|
|
131
132
|
* status.discovered_capabilities is empty, passing runtime_env from the
|
|
132
|
-
* execution context.
|
|
133
|
+
* execution context (shared/connect-backfill.ts).
|
|
133
134
|
*
|
|
134
135
|
* Errors:
|
|
135
136
|
* - FAILED_PRECONDITION: Required credentials missing from personal environment
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,8qFAA8qF,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE75F;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,8qFAA8qF,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE75F;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAgRlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -34,7 +34,7 @@ export declare const McpServerIdSchema: GenMessage<McpServerId>;
|
|
|
34
34
|
* Triggers server-side MCP discovery and tool approval classification:
|
|
35
35
|
* the backend creates an ephemeral ExecutionContext with the resolved
|
|
36
36
|
* environment variables, starts a Temporal workflow that connects to the
|
|
37
|
-
* MCP server (via the
|
|
37
|
+
* MCP server (via the runner), enumerates tools and resource
|
|
38
38
|
* templates, classifies tool approval policies, and stores the results
|
|
39
39
|
* in status.discovered_capabilities and status.tool_approvals.
|
|
40
40
|
*
|
|
@@ -47,7 +47,7 @@ export declare const McpServerIdSchema: GenMessage<McpServerId>;
|
|
|
47
47
|
* Callers:
|
|
48
48
|
* - Web console: calls connect after saving credentials to personal environment.
|
|
49
49
|
* - CLI: calls connect with runtime_env populated from local env vars.
|
|
50
|
-
* -
|
|
50
|
+
* - Runner backfill: calls connect with runtime_env from execution context
|
|
51
51
|
* when status.discovered_capabilities is empty on first agent execution.
|
|
52
52
|
*
|
|
53
53
|
* Prerequisites:
|
|
@@ -124,15 +124,20 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
124
124
|
[key: string]: EnvVarDeclaration;
|
|
125
125
|
};
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Tools pinned by the MCP server owner to always require approval.
|
|
128
128
|
*
|
|
129
129
|
* @internal
|
|
130
130
|
* These take precedence over system-generated `McpServerStatus.tool_approvals`.
|
|
131
131
|
* Never auto-modified — only changed by explicit user action (apply/update).
|
|
132
132
|
*
|
|
133
|
+
* Presence in this list IS the gate: every entry force-requires approval
|
|
134
|
+
* for its tool, overriding the classifier. The field cannot express the
|
|
135
|
+
* opposite direction — a pin can never exempt a tool. To un-gate a tool
|
|
136
|
+
* the classifier flagged, use `Agent.McpServerUsage.tool_approval_overrides`
|
|
137
|
+
* (layer 3 below), whose entries carry a real `requires_approval` boolean.
|
|
138
|
+
*
|
|
133
139
|
* Use cases:
|
|
134
140
|
* - Force approval for a tool the classifier marked as auto-approve
|
|
135
|
-
* - Exempt a safe tool the classifier flagged as needing approval
|
|
136
141
|
* - Establish organization-wide safety policies for dangerous tools
|
|
137
142
|
*
|
|
138
143
|
* Policy chain (lowest to highest priority):
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,0mEAA0mE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,0mEAA0mE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAqL7xE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA+D5D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA4E5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAqE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA6H5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -17,7 +17,7 @@ export declare const file_ai_stigmer_agentic_mcpserver_v1_status: GenFile;
|
|
|
17
17
|
* 2. Discovered capabilities — the tools and resource templates the MCP server
|
|
18
18
|
* actually provides. Populated by:
|
|
19
19
|
* a. Static seedpack bootstrap (for built-in servers like stigmer-mcp-server)
|
|
20
|
-
* b. The connect RPC — the backend delegates to the
|
|
20
|
+
* b. The connect RPC — the backend delegates to the runner via a Temporal
|
|
21
21
|
* workflow, which connects to the MCP server and enumerates tools/resources.
|
|
22
22
|
* 3. Tool approval policies — system-generated by a lightweight LLM classifier during
|
|
23
23
|
* the connect flow. Manual overrides live in McpServerSpec.pinned_tool_approvals.
|
|
@@ -108,7 +108,7 @@ export declare const McpServerStatusSchema: GenMessage<McpServerStatus>;
|
|
|
108
108
|
*
|
|
109
109
|
* Populated by:
|
|
110
110
|
* - Seedpack bootstrap (built-in servers with known, stable tool sets)
|
|
111
|
-
* - The connect RPC (web console, CLI, or
|
|
111
|
+
* - The connect RPC (web console, CLI, or the runner's first-time-use backfill)
|
|
112
112
|
*
|
|
113
113
|
* @generated from message ai.stigmer.agentic.mcpserver.v1.DiscoveredCapabilities
|
|
114
114
|
*/
|
|
@@ -86,7 +86,7 @@ export declare const WorkspaceEntrySchema: GenMessage<WorkspaceEntry>;
|
|
|
86
86
|
* and persistent. No copy or clone is made.
|
|
87
87
|
*
|
|
88
88
|
* @internal
|
|
89
|
-
* Deployment constraint: only valid when the
|
|
89
|
+
* Deployment constraint: only valid when the runner is in local mode.
|
|
90
90
|
* Cloud runners reject this at provisioning time with a clear error, the same
|
|
91
91
|
* way GitRepoSource rejects SSH URLs at validation time.
|
|
92
92
|
*
|
|
@@ -33,6 +33,29 @@ export declare const SkillCommandController: {
|
|
|
33
33
|
readonly O: any;
|
|
34
34
|
readonly kind: any;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Mint a short-lived, single-use upload URL for staging a skill artifact
|
|
38
|
+
* that exceeds the gRPC message-size cap (10MB). Flow:
|
|
39
|
+
*
|
|
40
|
+
* 1. createArtifactUploadUrl(org, size_bytes) → { url, artifact_upload_ref }
|
|
41
|
+
* 2. HTTP PUT the ZIP bytes to url
|
|
42
|
+
* 3. push(PushSkillRequest{ artifact_upload_ref }) — same pipeline,
|
|
43
|
+
* validation, and versioning as an inline push
|
|
44
|
+
*
|
|
45
|
+
* The server refuses over-limit size_bytes here, before any bytes move.
|
|
46
|
+
*
|
|
47
|
+
* @internal
|
|
48
|
+
* Authorization matches push() — the URL is a capability to stage bytes,
|
|
49
|
+
* so minting one requires the same permission as consuming it.
|
|
50
|
+
*
|
|
51
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.createArtifactUploadUrl
|
|
52
|
+
*/
|
|
53
|
+
readonly createArtifactUploadUrl: {
|
|
54
|
+
readonly name: "createArtifactUploadUrl";
|
|
55
|
+
readonly I: any;
|
|
56
|
+
readonly O: any;
|
|
57
|
+
readonly kind: any;
|
|
58
|
+
};
|
|
36
59
|
/**
|
|
37
60
|
* Push a skill from an execution artifact already in storage.
|
|
38
61
|
* Use this when an agent execution has already produced a skill artifact
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/skill/v1/command.proto (package ai.stigmer.agentic.skill.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { PushSkillFromExecutionArtifactRequest, PushSkillRequest, SkillId } from "./io_pbjs";
|
|
5
|
+
import { CreateSkillArtifactUploadUrlRequest, PushSkillFromExecutionArtifactRequest, PushSkillRequest, SkillArtifactUploadUrl, SkillId } from "./io_pbjs";
|
|
6
6
|
import { Skill } from "./api_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { UpdateVisibilityInput } from "../../../commons/apiresource/io_pbjs";
|
|
@@ -41,6 +41,29 @@ export const SkillCommandController = {
|
|
|
41
41
|
O: Skill,
|
|
42
42
|
kind: MethodKind.Unary,
|
|
43
43
|
},
|
|
44
|
+
/**
|
|
45
|
+
* Mint a short-lived, single-use upload URL for staging a skill artifact
|
|
46
|
+
* that exceeds the gRPC message-size cap (10MB). Flow:
|
|
47
|
+
*
|
|
48
|
+
* 1. createArtifactUploadUrl(org, size_bytes) → { url, artifact_upload_ref }
|
|
49
|
+
* 2. HTTP PUT the ZIP bytes to url
|
|
50
|
+
* 3. push(PushSkillRequest{ artifact_upload_ref }) — same pipeline,
|
|
51
|
+
* validation, and versioning as an inline push
|
|
52
|
+
*
|
|
53
|
+
* The server refuses over-limit size_bytes here, before any bytes move.
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
* Authorization matches push() — the URL is a capability to stage bytes,
|
|
57
|
+
* so minting one requires the same permission as consuming it.
|
|
58
|
+
*
|
|
59
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.createArtifactUploadUrl
|
|
60
|
+
*/
|
|
61
|
+
createArtifactUploadUrl: {
|
|
62
|
+
name: "createArtifactUploadUrl",
|
|
63
|
+
I: CreateSkillArtifactUploadUrlRequest,
|
|
64
|
+
O: SkillArtifactUploadUrl,
|
|
65
|
+
kind: MethodKind.Unary,
|
|
66
|
+
},
|
|
44
67
|
/**
|
|
45
68
|
* Push a skill from an execution artifact already in storage.
|
|
46
69
|
* Use this when an agent execution has already produced a skill artifact
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,qCAAqC,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1J,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;WAgBG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,mCAAmC;YACtC,CAAC,EAAE,sBAAsB;YACzB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,qCAAqC;YACxC,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SkillSchema } from "./api_pb.js";
|
|
3
|
-
import type { PushSkillFromExecutionArtifactRequestSchema, PushSkillRequestSchema, SkillIdSchema } from "./io_pb.js";
|
|
3
|
+
import type { CreateSkillArtifactUploadUrlRequestSchema, PushSkillFromExecutionArtifactRequestSchema, PushSkillRequestSchema, SkillArtifactUploadUrlSchema, SkillIdSchema } from "./io_pb.js";
|
|
4
4
|
import type { UpdateVisibilityInputSchema } from "../../../commons/apiresource/io_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/skill/v1/command.proto.
|
|
@@ -38,6 +38,28 @@ export declare const SkillCommandController: GenService<{
|
|
|
38
38
|
input: typeof PushSkillRequestSchema;
|
|
39
39
|
output: typeof SkillSchema;
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Mint a short-lived, single-use upload URL for staging a skill artifact
|
|
43
|
+
* that exceeds the gRPC message-size cap (10MB). Flow:
|
|
44
|
+
*
|
|
45
|
+
* 1. createArtifactUploadUrl(org, size_bytes) → { url, artifact_upload_ref }
|
|
46
|
+
* 2. HTTP PUT the ZIP bytes to url
|
|
47
|
+
* 3. push(PushSkillRequest{ artifact_upload_ref }) — same pipeline,
|
|
48
|
+
* validation, and versioning as an inline push
|
|
49
|
+
*
|
|
50
|
+
* The server refuses over-limit size_bytes here, before any bytes move.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
* Authorization matches push() — the URL is a capability to stage bytes,
|
|
54
|
+
* so minting one requires the same permission as consuming it.
|
|
55
|
+
*
|
|
56
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.createArtifactUploadUrl
|
|
57
|
+
*/
|
|
58
|
+
createArtifactUploadUrl: {
|
|
59
|
+
methodKind: "unary";
|
|
60
|
+
input: typeof CreateSkillArtifactUploadUrlRequestSchema;
|
|
61
|
+
output: typeof SkillArtifactUploadUrlSchema;
|
|
62
|
+
};
|
|
41
63
|
/**
|
|
42
64
|
* Push a skill from an execution artifact already in storage.
|
|
43
65
|
* Use this when an agent execution has already produced a skill artifact
|
|
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/agentic/skill/v1/command.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_skill_v1_command = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_skill_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxMocHChZTa2lsbENvbW1hbmRDb250cm9sbGVyEpkBCgRwdXNoEi0uYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlB1c2hTa2lsbFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiPsK4GDoICRAeIgNvcmcqL3VuYXV0aG9yaXplZCB0byBwdXNoIHNraWxsIGluIHRoaXMgb3JnYW5pemF0aW9uEtABChdjcmVhdGVBcnRpZmFjdFVwbG9hZFVybBJALmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5DcmVhdGVTa2lsbEFydGlmYWN0VXBsb2FkVXJsUmVxdWVzdBozLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbEFydGlmYWN0VXBsb2FkVXJsIj7CuBg6CAkQHiIDb3JnKi91bmF1dGhvcml6ZWQgdG8gcHVzaCBza2lsbCBpbiB0aGlzIG9yZ2FuaXphdGlvbhLDAQoZcHVzaEZyb21FeGVjdXRpb25BcnRpZmFjdBJCLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5QdXNoU2tpbGxGcm9tRXhlY3V0aW9uQXJ0aWZhY3RSZXF1ZXN0GiIuYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlNraWxsIj7CuBg6CAkQHiIDb3JnKi91bmF1dGhvcml6ZWQgdG8gcHVzaCBza2lsbCBpbiB0aGlzIG9yZ2FuaXphdGlvbhKtAQoQdXBkYXRlVmlzaWJpbGl0eRI1LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5VcGRhdGVWaXNpYmlsaXR5SW5wdXQaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiPsK4GDoIAhArIgtyZXNvdXJjZV9pZCondW5hdXRob3JpemVkIHRvIHVwZGF0ZSBza2lsbCB2aXNpYmlsaXR5EoEBCgZkZWxldGUSJC5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGxJZBoiLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbCItwrgYKQgDECsiBXZhbHVlKhx1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHNraWxsGgSg/ysrYgZwcm90bzM", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
14
14
|
/**
|
|
15
15
|
* SkillCommandController handles write operations for skills.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,qyCAAqyC,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE5gD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAmG9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -28,6 +28,14 @@ export declare const SkillIdSchema: GenMessage<SkillId>;
|
|
|
28
28
|
* Creates a skill if it does not exist, or creates a new version of an
|
|
29
29
|
* existing skill.
|
|
30
30
|
*
|
|
31
|
+
* The artifact travels one of two ways (exactly one must be set):
|
|
32
|
+
* - artifact: inline ZIP bytes. Simple one-round-trip push, but bounded by
|
|
33
|
+
* the gRPC transport's message-size cap (10MB) — well below the 100MB
|
|
34
|
+
* skill limit.
|
|
35
|
+
* - artifact_upload_ref: reference to bytes already staged via
|
|
36
|
+
* createArtifactUploadUrl() + HTTP PUT. Required for artifacts above the
|
|
37
|
+
* transport cap; works for any size up to the skill limit.
|
|
38
|
+
*
|
|
31
39
|
* @internal
|
|
32
40
|
* The skill name and description are extracted by the backend from the SKILL.md
|
|
33
41
|
* YAML frontmatter within the artifact. The CLI validates the format but does not
|
|
@@ -51,6 +59,8 @@ export type PushSkillRequest = Message<"ai.stigmer.agentic.skill.v1.PushSkillReq
|
|
|
51
59
|
* - Tool executables/scripts (optional)
|
|
52
60
|
* - Additional files referenced in SKILL.md
|
|
53
61
|
*
|
|
62
|
+
* Mutually exclusive with artifact_upload_ref (see the message comment).
|
|
63
|
+
*
|
|
54
64
|
* @generated from field: bytes artifact = 2;
|
|
55
65
|
*/
|
|
56
66
|
artifact: Uint8Array;
|
|
@@ -85,12 +95,139 @@ export type PushSkillRequest = Message<"ai.stigmer.agentic.skill.v1.PushSkillReq
|
|
|
85
95
|
* @generated from field: string message = 6;
|
|
86
96
|
*/
|
|
87
97
|
message: string;
|
|
98
|
+
/**
|
|
99
|
+
* Reference to an artifact staged via createArtifactUploadUrl().
|
|
100
|
+
* Set this instead of artifact when the ZIP exceeds the gRPC message-size
|
|
101
|
+
* cap. The reference is single-use and expires with its upload URL.
|
|
102
|
+
*
|
|
103
|
+
* Mutually exclusive with artifact (see the message comment).
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: string artifact_upload_ref = 7;
|
|
106
|
+
*/
|
|
107
|
+
artifactUploadRef: string;
|
|
88
108
|
};
|
|
89
109
|
/**
|
|
90
110
|
* Describes the message ai.stigmer.agentic.skill.v1.PushSkillRequest.
|
|
91
111
|
* Use `create(PushSkillRequestSchema)` to create a new message.
|
|
92
112
|
*/
|
|
93
113
|
export declare const PushSkillRequestSchema: GenMessage<PushSkillRequest>;
|
|
114
|
+
/**
|
|
115
|
+
* CreateSkillArtifactUploadUrlRequest asks the server to mint a staging
|
|
116
|
+
* slot for a skill artifact that is too large to travel inline in
|
|
117
|
+
* PushSkillRequest.artifact (the gRPC message cap is 10MB; skills may be
|
|
118
|
+
* up to 100MB).
|
|
119
|
+
*
|
|
120
|
+
* @generated from message ai.stigmer.agentic.skill.v1.CreateSkillArtifactUploadUrlRequest
|
|
121
|
+
*/
|
|
122
|
+
export type CreateSkillArtifactUploadUrlRequest = Message<"ai.stigmer.agentic.skill.v1.CreateSkillArtifactUploadUrlRequest"> & {
|
|
123
|
+
/**
|
|
124
|
+
* Organization that will own the skill (authorization scope — the caller
|
|
125
|
+
* needs the same can_create_skill permission that push requires).
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: string org = 1;
|
|
128
|
+
*/
|
|
129
|
+
org: string;
|
|
130
|
+
/**
|
|
131
|
+
* Declared size of the artifact ZIP in bytes.
|
|
132
|
+
*
|
|
133
|
+
* Lets the server refuse over-limit artifacts BEFORE any bytes move —
|
|
134
|
+
* the fail-loud-at-authoring contract from #675. The upload endpoint
|
|
135
|
+
* additionally enforces the declared size against the actual bytes.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: int64 size_bytes = 2;
|
|
138
|
+
*/
|
|
139
|
+
sizeBytes: bigint;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message ai.stigmer.agentic.skill.v1.CreateSkillArtifactUploadUrlRequest.
|
|
143
|
+
* Use `create(CreateSkillArtifactUploadUrlRequestSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export declare const CreateSkillArtifactUploadUrlRequestSchema: GenMessage<CreateSkillArtifactUploadUrlRequest>;
|
|
146
|
+
/**
|
|
147
|
+
* SkillArtifactUploadUrl is a short-lived, single-use capability for
|
|
148
|
+
* staging a skill artifact over HTTP.
|
|
149
|
+
*
|
|
150
|
+
* @internal
|
|
151
|
+
* The upload strategy differs by edition (mirrors ArtifactDownloadUrl):
|
|
152
|
+
* - Cloud: pre-signed R2/S3 PUT URL with short TTL
|
|
153
|
+
* - OSS: capability URL on the server's own HTTP lane (the unguessable
|
|
154
|
+
* token in the path is the credential, exactly like a presigned URL)
|
|
155
|
+
*
|
|
156
|
+
* This pattern avoids streaming large blobs through the gRPC control plane.
|
|
157
|
+
*
|
|
158
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillArtifactUploadUrl
|
|
159
|
+
*/
|
|
160
|
+
export type SkillArtifactUploadUrl = Message<"ai.stigmer.agentic.skill.v1.SkillArtifactUploadUrl"> & {
|
|
161
|
+
/**
|
|
162
|
+
* URL to PUT the artifact ZIP bytes to. Content-Type: application/zip.
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: string url = 1;
|
|
165
|
+
*/
|
|
166
|
+
url: string;
|
|
167
|
+
/**
|
|
168
|
+
* Opaque reference to pass as PushSkillRequest.artifact_upload_ref after
|
|
169
|
+
* the PUT succeeds. Single-use; invalid after the push consumes it or
|
|
170
|
+
* the TTL lapses.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string artifact_upload_ref = 2;
|
|
173
|
+
*/
|
|
174
|
+
artifactUploadRef: string;
|
|
175
|
+
/**
|
|
176
|
+
* Time-to-live for the upload URL in seconds. After this duration the
|
|
177
|
+
* URL and the reference expire and a new one must be requested.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: int32 ttl_seconds = 3;
|
|
180
|
+
*/
|
|
181
|
+
ttlSeconds: number;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillArtifactUploadUrl.
|
|
185
|
+
* Use `create(SkillArtifactUploadUrlSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export declare const SkillArtifactUploadUrlSchema: GenMessage<SkillArtifactUploadUrl>;
|
|
188
|
+
/**
|
|
189
|
+
* SkillArtifactDownloadUrl provides a URL for downloading a skill
|
|
190
|
+
* artifact over HTTP.
|
|
191
|
+
*
|
|
192
|
+
* @internal
|
|
193
|
+
* The download strategy differs by edition (mirrors ArtifactDownloadUrl):
|
|
194
|
+
* - Cloud: pre-signed R2/S3 URL with short TTL (e.g., 15 minutes)
|
|
195
|
+
* - OSS: capability URL on the server's own HTTP lane; the content-hash
|
|
196
|
+
* storage key in the path is the capability (the same trust model as
|
|
197
|
+
* getArtifact, which deliberately skips authorization)
|
|
198
|
+
*
|
|
199
|
+
* This pattern avoids streaming large blobs through the gRPC control
|
|
200
|
+
* plane — the transport cap stays at 10MB while skills may be 100MB.
|
|
201
|
+
*
|
|
202
|
+
* @generated from message ai.stigmer.agentic.skill.v1.SkillArtifactDownloadUrl
|
|
203
|
+
*/
|
|
204
|
+
export type SkillArtifactDownloadUrl = Message<"ai.stigmer.agentic.skill.v1.SkillArtifactDownloadUrl"> & {
|
|
205
|
+
/**
|
|
206
|
+
* URL to download the artifact ZIP via HTTP GET.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: string url = 1;
|
|
209
|
+
*/
|
|
210
|
+
url: string;
|
|
211
|
+
/**
|
|
212
|
+
* Time-to-live for the download URL in seconds.
|
|
213
|
+
* Typically 900 (15 minutes) for Cloud, 0 (no expiry) for OSS.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: int32 ttl_seconds = 2;
|
|
216
|
+
*/
|
|
217
|
+
ttlSeconds: number;
|
|
218
|
+
/**
|
|
219
|
+
* Size of the artifact ZIP in bytes. Lets clients pre-allocate or
|
|
220
|
+
* sanity-check before fetching.
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: int64 size_bytes = 3;
|
|
223
|
+
*/
|
|
224
|
+
sizeBytes: bigint;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillArtifactDownloadUrl.
|
|
228
|
+
* Use `create(SkillArtifactDownloadUrlSchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export declare const SkillArtifactDownloadUrlSchema: GenMessage<SkillArtifactDownloadUrl>;
|
|
94
231
|
/**
|
|
95
232
|
* PushSkillFromExecutionArtifactRequest publishes a skill from an execution
|
|
96
233
|
* artifact already in storage, without downloading and re-uploading the ZIP.
|
|
@@ -9,7 +9,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/agentic/skill/v1/io.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEilAMKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESEAoIYXJ0aWZhY3QYAiABKAwSKAoDdGFnGAMgASgJQhu6SBhyFjIUXiR8XlthLXpBLVowLTkuXy1dKyQSQgoOZ2l0X3Byb3ZlbmFuY2UYBCABKAsyKi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuR2l0UHJvdmVuYW5jZRIPCgdtZXNzYWdlGAYgASgJEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYByABKAk6tgG6SLIBGq8BCiJwdXNoX3NraWxsX3JlcXVlc3QuYXJ0aWZhY3Rfc291cmNlEklleGFjdGx5IG9uZSBvZiBhcnRpZmFjdCAoaW5saW5lIGJ5dGVzKSBvciBhcnRpZmFjdF91cGxvYWRfcmVmIG11c3QgYmUgc2V0Gj4odGhpcy5hcnRpZmFjdC5zaXplKCkgPiAwKSAhPSAodGhpcy5hcnRpZmFjdF91cGxvYWRfcmVmICE9ICcnKUoECAUQBiJXCiNDcmVhdGVTa2lsbEFydGlmYWN0VXBsb2FkVXJsUmVxdWVzdBITCgNvcmcYASABKAlCBrpIA8gBARIbCgpzaXplX2J5dGVzGAIgASgDQge6SAQiAiAAIlcKFlNraWxsQXJ0aWZhY3RVcGxvYWRVcmwSCwoDdXJsGAEgASgJEhsKE2FydGlmYWN0X3VwbG9hZF9yZWYYAiABKAkSEwoLdHRsX3NlY29uZHMYAyABKAUiUAoYU2tpbGxBcnRpZmFjdERvd25sb2FkVXJsEgsKA3VybBgBIAEoCRITCgt0dGxfc2Vjb25kcxgCIAEoBRISCgpzaXplX2J5dGVzGAMgASgDIqMBCiVQdXNoU2tpbGxGcm9tRXhlY3V0aW9uQXJ0aWZhY3RSZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEh0KDGV4ZWN1dGlvbl9pZBgCIAEoCUIHukgEcgIQARIcCgtzdG9yYWdlX2tleRgDIAEoCUIHukgEcgIQARIoCgN0YWcYBCABKAlCG7pIGHIWMhReJHxeW2EtekEtWjAtOS5fLV0rJCI6ChJHZXRBcnRpZmFjdFJlcXVlc3QSJAoUYXJ0aWZhY3Rfc3RvcmFnZV9rZXkYASABKAlCBrpIA8gBASInChNHZXRBcnRpZmFjdFJlc3BvbnNlEhAKCGFydGlmYWN0GAEgASgMImoKFkxpc3RTa2lsbFZlcnNpb25zSW5wdXQSEwoDb3JnGAEgASgJQga6SAPIAQESFAoEc2x1ZxgCIAEoCUIGukgDyAEBEhIKCnBhZ2VfdG9rZW4YAyABKAkSEQoJcGFnZV9zaXplGAQgASgFIrYCChFTa2lsbFZlcnNpb25FbnRyeRIUCgx2ZXJzaW9uX2hhc2gYASABKAkSLQoJcHVzaGVkX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJICglwdXNoZWRfYnkYAyABKAsyNS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VBdWRpdEFjdG9yEgsKA3RhZxgEIAEoCRISCgppc19jdXJyZW50GAUgASgIEkIKDmdpdF9wcm92ZW5hbmNlGAYgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLkdpdFByb3ZlbmFuY2USDwoHbWVzc2FnZRgHIAEoCRIcChRhcnRpZmFjdF9zdG9yYWdlX2tleRgIIAEoCSKLAQoZTGlzdFNraWxsVmVyc2lvbnNSZXNwb25zZRJACgh2ZXJzaW9ucxgBIAMoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbFZlcnNpb25FbnRyeRIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAkSEwoLdG90YWxfY291bnQYAyABKAViBnByb3RvMw", [file_ai_stigmer_agentic_skill_v1_status, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message ai.stigmer.agentic.skill.v1.SkillId.
|
|
15
15
|
* Use `create(SkillIdSchema)` to create a new message.
|
|
@@ -20,34 +20,49 @@ export const SkillIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_s
|
|
|
20
20
|
* Use `create(PushSkillRequestSchema)` to create a new message.
|
|
21
21
|
*/
|
|
22
22
|
export const PushSkillRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message ai.stigmer.agentic.skill.v1.CreateSkillArtifactUploadUrlRequest.
|
|
25
|
+
* Use `create(CreateSkillArtifactUploadUrlRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const CreateSkillArtifactUploadUrlRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillArtifactUploadUrl.
|
|
30
|
+
* Use `create(SkillArtifactUploadUrlSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const SkillArtifactUploadUrlSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message ai.stigmer.agentic.skill.v1.SkillArtifactDownloadUrl.
|
|
35
|
+
* Use `create(SkillArtifactDownloadUrlSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const SkillArtifactDownloadUrlSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 4);
|
|
23
38
|
/**
|
|
24
39
|
* Describes the message ai.stigmer.agentic.skill.v1.PushSkillFromExecutionArtifactRequest.
|
|
25
40
|
* Use `create(PushSkillFromExecutionArtifactRequestSchema)` to create a new message.
|
|
26
41
|
*/
|
|
27
|
-
export const PushSkillFromExecutionArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
42
|
+
export const PushSkillFromExecutionArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 5);
|
|
28
43
|
/**
|
|
29
44
|
* Describes the message ai.stigmer.agentic.skill.v1.GetArtifactRequest.
|
|
30
45
|
* Use `create(GetArtifactRequestSchema)` to create a new message.
|
|
31
46
|
*/
|
|
32
|
-
export const GetArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
47
|
+
export const GetArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 6);
|
|
33
48
|
/**
|
|
34
49
|
* Describes the message ai.stigmer.agentic.skill.v1.GetArtifactResponse.
|
|
35
50
|
* Use `create(GetArtifactResponseSchema)` to create a new message.
|
|
36
51
|
*/
|
|
37
|
-
export const GetArtifactResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
52
|
+
export const GetArtifactResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 7);
|
|
38
53
|
/**
|
|
39
54
|
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsInput.
|
|
40
55
|
* Use `create(ListSkillVersionsInputSchema)` to create a new message.
|
|
41
56
|
*/
|
|
42
|
-
export const ListSkillVersionsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
57
|
+
export const ListSkillVersionsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 8);
|
|
43
58
|
/**
|
|
44
59
|
* Describes the message ai.stigmer.agentic.skill.v1.SkillVersionEntry.
|
|
45
60
|
* Use `create(SkillVersionEntrySchema)` to create a new message.
|
|
46
61
|
*/
|
|
47
|
-
export const SkillVersionEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
62
|
+
export const SkillVersionEntrySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 9);
|
|
48
63
|
/**
|
|
49
64
|
* Describes the message ai.stigmer.agentic.skill.v1.ListSkillVersionsResponse.
|
|
50
65
|
* Use `create(ListSkillVersionsResponseSchema)` to create a new message.
|
|
51
66
|
*/
|
|
52
|
-
export const ListSkillVersionsResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io,
|
|
67
|
+
export const ListSkillVersionsResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 10);
|
|
53
68
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,gmEAAgmE,EAAE,CAAC,uCAAuC,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAchwE;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA2FtD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA+BtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAoD,aAAa,CACrH,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA0CtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA2CtD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA4DtD;;;GAGG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAsD,aAAa,CACzH,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAmBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA2CtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAuEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA8BtD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -42,7 +42,7 @@ export declare const SkillQueryController: {
|
|
|
42
42
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
43
43
|
*
|
|
44
44
|
* @internal
|
|
45
|
-
* Used by the
|
|
45
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
46
46
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
47
47
|
* storage key itself acts as a capability token.
|
|
48
48
|
*
|
|
@@ -54,6 +54,27 @@ export declare const SkillQueryController: {
|
|
|
54
54
|
readonly O: any;
|
|
55
55
|
readonly kind: any;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* Mint a URL for downloading a skill artifact over HTTP.
|
|
59
|
+
*
|
|
60
|
+
* Preferred over getArtifact for anything that might exceed the gRPC
|
|
61
|
+
* message-size cap (10MB): the bytes ride HTTP, so the full 100MB skill
|
|
62
|
+
* limit is deliverable. Callers should try this first and fall back to
|
|
63
|
+
* getArtifact against servers that predate it (UNIMPLEMENTED).
|
|
64
|
+
*
|
|
65
|
+
* @internal
|
|
66
|
+
* Authorization is skipped for the same reason as getArtifact: the
|
|
67
|
+
* content-hash storage key acts as the capability token. Cloud returns a
|
|
68
|
+
* pre-signed R2 URL; OSS returns a capability URL on its own HTTP lane.
|
|
69
|
+
*
|
|
70
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.getArtifactDownloadUrl
|
|
71
|
+
*/
|
|
72
|
+
readonly getArtifactDownloadUrl: {
|
|
73
|
+
readonly name: "getArtifactDownloadUrl";
|
|
74
|
+
readonly I: any;
|
|
75
|
+
readonly O: any;
|
|
76
|
+
readonly kind: any;
|
|
77
|
+
};
|
|
57
78
|
/**
|
|
58
79
|
* List version history for a skill.
|
|
59
80
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/skill/v1/query.proto (package ai.stigmer.agentic.skill.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetArtifactRequest, GetArtifactResponse, ListSkillVersionsInput, ListSkillVersionsResponse, SkillId } from "./io_pbjs";
|
|
5
|
+
import { GetArtifactRequest, GetArtifactResponse, ListSkillVersionsInput, ListSkillVersionsResponse, SkillArtifactDownloadUrl, SkillId } from "./io_pbjs";
|
|
6
6
|
import { Skill } from "./api_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
|
|
@@ -50,7 +50,7 @@ export const SkillQueryController = {
|
|
|
50
50
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
51
51
|
*
|
|
52
52
|
* @internal
|
|
53
|
-
* Used by the
|
|
53
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
54
54
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
55
55
|
* storage key itself acts as a capability token.
|
|
56
56
|
*
|
|
@@ -62,6 +62,27 @@ export const SkillQueryController = {
|
|
|
62
62
|
O: GetArtifactResponse,
|
|
63
63
|
kind: MethodKind.Unary,
|
|
64
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* Mint a URL for downloading a skill artifact over HTTP.
|
|
67
|
+
*
|
|
68
|
+
* Preferred over getArtifact for anything that might exceed the gRPC
|
|
69
|
+
* message-size cap (10MB): the bytes ride HTTP, so the full 100MB skill
|
|
70
|
+
* limit is deliverable. Callers should try this first and fall back to
|
|
71
|
+
* getArtifact against servers that predate it (UNIMPLEMENTED).
|
|
72
|
+
*
|
|
73
|
+
* @internal
|
|
74
|
+
* Authorization is skipped for the same reason as getArtifact: the
|
|
75
|
+
* content-hash storage key acts as the capability token. Cloud returns a
|
|
76
|
+
* pre-signed R2 URL; OSS returns a capability URL on its own HTTP lane.
|
|
77
|
+
*
|
|
78
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.getArtifactDownloadUrl
|
|
79
|
+
*/
|
|
80
|
+
getArtifactDownloadUrl: {
|
|
81
|
+
name: "getArtifactDownloadUrl",
|
|
82
|
+
I: GetArtifactRequest,
|
|
83
|
+
O: SkillArtifactDownloadUrl,
|
|
84
|
+
kind: MethodKind.Unary,
|
|
85
|
+
},
|
|
65
86
|
/**
|
|
66
87
|
* List version history for a skill.
|
|
67
88
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1J,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,sBAAsB,EAAE;YACtB,IAAI,EAAE,wBAAwB;YAC9B,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,wBAAwB;YAC3B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SkillSchema } from "./api_pb.js";
|
|
3
|
-
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListSkillVersionsInputSchema, ListSkillVersionsResponseSchema, SkillIdSchema } from "./io_pb.js";
|
|
3
|
+
import type { GetArtifactRequestSchema, GetArtifactResponseSchema, ListSkillVersionsInputSchema, ListSkillVersionsResponseSchema, SkillArtifactDownloadUrlSchema, SkillIdSchema } from "./io_pb.js";
|
|
4
4
|
import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/skill/v1/query.proto.
|
|
@@ -46,7 +46,7 @@ export declare const SkillQueryController: GenService<{
|
|
|
46
46
|
* Returns the ZIP file containing SKILL.md and implementation files.
|
|
47
47
|
*
|
|
48
48
|
* @internal
|
|
49
|
-
* Used by the
|
|
49
|
+
* Used by the runner to download and extract skill artifacts into the
|
|
50
50
|
* sandbox at /bin/skills/{version_hash}/. Authorization is skipped as the
|
|
51
51
|
* storage key itself acts as a capability token.
|
|
52
52
|
*
|
|
@@ -57,6 +57,26 @@ export declare const SkillQueryController: GenService<{
|
|
|
57
57
|
input: typeof GetArtifactRequestSchema;
|
|
58
58
|
output: typeof GetArtifactResponseSchema;
|
|
59
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* Mint a URL for downloading a skill artifact over HTTP.
|
|
62
|
+
*
|
|
63
|
+
* Preferred over getArtifact for anything that might exceed the gRPC
|
|
64
|
+
* message-size cap (10MB): the bytes ride HTTP, so the full 100MB skill
|
|
65
|
+
* limit is deliverable. Callers should try this first and fall back to
|
|
66
|
+
* getArtifact against servers that predate it (UNIMPLEMENTED).
|
|
67
|
+
*
|
|
68
|
+
* @internal
|
|
69
|
+
* Authorization is skipped for the same reason as getArtifact: the
|
|
70
|
+
* content-hash storage key acts as the capability token. Cloud returns a
|
|
71
|
+
* pre-signed R2 URL; OSS returns a capability URL on its own HTTP lane.
|
|
72
|
+
*
|
|
73
|
+
* @generated from rpc ai.stigmer.agentic.skill.v1.SkillQueryController.getArtifactDownloadUrl
|
|
74
|
+
*/
|
|
75
|
+
getArtifactDownloadUrl: {
|
|
76
|
+
methodKind: "unary";
|
|
77
|
+
input: typeof GetArtifactRequestSchema;
|
|
78
|
+
output: typeof SkillArtifactDownloadUrlSchema;
|
|
79
|
+
};
|
|
60
80
|
/**
|
|
61
81
|
* List version history for a skill.
|
|
62
82
|
*
|