@runtypelabs/cli 2.34.0 → 2.34.1

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.
Files changed (2) hide show
  1. package/dist/index.js +128 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15130,7 +15130,7 @@ function date4(params) {
15130
15130
  // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
15131
15131
  config(en_default());
15132
15132
 
15133
- // ../shared/dist/chunk-QIBIQJE2.mjs
15133
+ // ../shared/dist/chunk-EQIJXX5F.mjs
15134
15134
  var AGENT_EXECUTION_STATUSES = [
15135
15135
  "queued",
15136
15136
  "running",
@@ -17211,7 +17211,7 @@ var recordCollectionSchemaSchema = external_exports.strictObject({
17211
17211
  additionalProperties: external_exports.boolean().optional()
17212
17212
  }).superRefine((schema, ctx) => addSemanticIssues(schema, ctx));
17213
17213
 
17214
- // ../shared/dist/chunk-PFWPHO6A.mjs
17214
+ // ../shared/dist/chunk-CUYPH2YF.mjs
17215
17215
  var MCPServerCategory = {
17216
17216
  COMMUNICATION: "communication",
17217
17217
  PRODUCTIVITY: "productivity",
@@ -19183,6 +19183,117 @@ var GITHUB_INTEGRATION = {
19183
19183
  required: ["owner", "repo", "path"]
19184
19184
  }
19185
19185
  },
19186
+ {
19187
+ name: "list_directory",
19188
+ description: "List files and subdirectories at a repository path. Omit path to list the repository root.",
19189
+ parametersSchema: {
19190
+ type: "object",
19191
+ properties: {
19192
+ owner: {
19193
+ type: "string",
19194
+ description: "Repository owner"
19195
+ },
19196
+ repo: {
19197
+ type: "string",
19198
+ description: "Repository name"
19199
+ },
19200
+ path: {
19201
+ type: "string",
19202
+ description: "Directory path in the repository (default: repository root)"
19203
+ },
19204
+ ref: {
19205
+ type: "string",
19206
+ description: "Branch, tag, or commit SHA (default: repository default branch)"
19207
+ }
19208
+ },
19209
+ required: ["owner", "repo"]
19210
+ }
19211
+ },
19212
+ {
19213
+ name: "get_repository_tree",
19214
+ description: "Get a Git tree for a branch, tag, commit, or tree SHA. Set recursive to true to list the entire repository tree.",
19215
+ parametersSchema: {
19216
+ type: "object",
19217
+ properties: {
19218
+ owner: {
19219
+ type: "string",
19220
+ description: "Repository owner"
19221
+ },
19222
+ repo: {
19223
+ type: "string",
19224
+ description: "Repository name"
19225
+ },
19226
+ ref: {
19227
+ type: "string",
19228
+ description: "Branch, tag, commit SHA, or tree SHA (default: repository default branch)"
19229
+ },
19230
+ recursive: {
19231
+ type: "boolean",
19232
+ description: "Whether to include all nested files and subdirectories (default: false; large repositories may return a truncated result)"
19233
+ }
19234
+ },
19235
+ required: ["owner", "repo"]
19236
+ }
19237
+ },
19238
+ {
19239
+ name: "commit_files",
19240
+ description: "Create one atomic Git commit that writes and/or deletes multiple files, then fast-forward a branch to it. If any operation fails, the branch is not partially updated.",
19241
+ parametersSchema: {
19242
+ type: "object",
19243
+ properties: {
19244
+ owner: {
19245
+ type: "string",
19246
+ description: "Repository owner"
19247
+ },
19248
+ repo: {
19249
+ type: "string",
19250
+ description: "Repository name"
19251
+ },
19252
+ branch: {
19253
+ type: "string",
19254
+ description: "Branch to update"
19255
+ },
19256
+ message: {
19257
+ type: "string",
19258
+ description: "Commit message"
19259
+ },
19260
+ expected_head_sha: {
19261
+ type: "string",
19262
+ description: "Optional optimistic concurrency guard. The commit is rejected if the branch no longer points to this SHA."
19263
+ },
19264
+ changes: {
19265
+ type: "array",
19266
+ description: "File changes included in the commit. Each change must provide either content or delete:true, but not both.",
19267
+ minItems: 1,
19268
+ maxItems: 100,
19269
+ items: {
19270
+ type: "object",
19271
+ properties: {
19272
+ path: {
19273
+ type: "string",
19274
+ description: "Repository-relative file path"
19275
+ },
19276
+ content: {
19277
+ type: "string",
19278
+ description: "Complete UTF-8 file content"
19279
+ },
19280
+ delete: {
19281
+ type: "boolean",
19282
+ description: "Set true to delete the file"
19283
+ },
19284
+ mode: {
19285
+ type: "string",
19286
+ description: "Git file mode (default: 100644). Use 100755 for executables or 120000 for symlinks.",
19287
+ enum: ["100644", "100755", "120000"]
19288
+ }
19289
+ },
19290
+ required: ["path"]
19291
+ }
19292
+ }
19293
+ },
19294
+ required: ["owner", "repo", "branch", "message", "changes"]
19295
+ }
19296
+ },
19186
19297
  {
19187
19298
  name: "search_code",
19188
19299
  description: "Search for code across GitHub repositories",
@@ -20167,7 +20278,7 @@ function unwrapVectorSourceTemplate(source) {
20167
20278
  return inner;
20168
20279
  }
20169
20280
 
20170
- // ../shared/dist/chunk-M72R4DR4.mjs
20281
+ // ../shared/dist/chunk-V72ZUWGU.mjs
20171
20282
  var jsonPatchOperationSchema = external_exports.object({
20172
20283
  op: external_exports.enum(["add", "remove", "replace", "move", "copy", "test"]),
20173
20284
  /** JSON Pointer (RFC 6901) into the state document. `''` addresses the root. */
@@ -20237,7 +20348,16 @@ var unifiedExecutionStartEventSchema = external_exports.object({
20237
20348
  maxTurns: external_exports.number().optional(),
20238
20349
  totalSteps: external_exports.number().optional(),
20239
20350
  source: external_exports.string().optional(),
20240
- config: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
20351
+ config: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
20352
+ // Present (and `true`) only on the resume leg of a paused agent run: the
20353
+ // runtime agent lane opens EVERY response with `execution_start`, so a
20354
+ // resumed stream re-opens an envelope a prior response already opened
20355
+ // (D-113, ratified — the richer shape wins). Consumers keep their run-level
20356
+ // state (turn counts, spend totals, transcript) across a start that carries
20357
+ // this flag instead of resetting for a new run. Absent on a first leg, on
20358
+ // every flow-lane start, and on durable/reconnect relays, which continue the
20359
+ // persisted sequence without a second start.
20360
+ resumed: external_exports.boolean().optional()
20241
20361
  });
20242
20362
  var unifiedExecutionCompleteEventSchema = external_exports.object({
20243
20363
  ...unifiedBase,
@@ -20752,7 +20872,7 @@ var UNIFIED_SSE_EVENT_TYPES = _unifiedTuple([
20752
20872
  "custom"
20753
20873
  ]);
20754
20874
 
20755
- // ../shared/dist/chunk-RRUEK47V.mjs
20875
+ // ../shared/dist/chunk-FYZWAHYL.mjs
20756
20876
  var mediaAnnotationsSchema = external_exports.object({
20757
20877
  audience: external_exports.array(external_exports.enum(["user", "assistant"])).optional()
20758
20878
  });
@@ -27304,6 +27424,8 @@ var runtimeArtifactManifestSchema = external_exports.object({
27304
27424
  })
27305
27425
  });
27306
27426
  var KNOWN_FLOW_STEP_TYPES = new Set(FLOW_STEP_TYPES);
27427
+ var DURABLE_STEP_TYPES = ["wait-until", "crawl"];
27428
+ var DURABLE_STEP_TYPE_SET = new Set(DURABLE_STEP_TYPES);
27307
27429
  var API_INPROCESS_CAPABILITY_MATRIX = {
27308
27430
  target: "api-inprocess",
27309
27431
  // Bumped 2026-08-05.3: graduates `conditionalNestedExecuteAgentStep` to
@@ -27546,7 +27668,7 @@ var API_INPROCESS_CAPABILITY_MATRIX = {
27546
27668
  unmaterializedPromptToolRefs: false
27547
27669
  }
27548
27670
  };
27549
- var DURABLE_HOSTED_STEP_TYPES = /* @__PURE__ */ new Set(["wait-until", "crawl"]);
27671
+ var DURABLE_HOSTED_STEP_TYPES = new Set(DURABLE_STEP_TYPES);
27550
27672
  var API_DURABLE_HOSTED_CAPABILITY_MATRIX = {
27551
27673
  ...API_INPROCESS_CAPABILITY_MATRIX,
27552
27674
  unsupportedStepTypes: API_INPROCESS_CAPABILITY_MATRIX.unsupportedStepTypes.filter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.34.0",
3
+ "version": "2.34.1",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "rosie-skills": "0.8.1",
28
28
  "yaml": "^2.9.0",
29
29
  "@runtypelabs/ink-components": "0.3.7",
30
- "@runtypelabs/sdk": "9.1.0",
30
+ "@runtypelabs/sdk": "9.1.1",
31
31
  "@runtypelabs/terminal-animations": "0.2.4"
32
32
  },
33
33
  "devDependencies": {
@@ -43,7 +43,7 @@
43
43
  "tsx": "^4.7.1",
44
44
  "typescript": "^6.0.3",
45
45
  "vitest": "^4.1.0",
46
- "@runtypelabs/shared": "3.30.0"
46
+ "@runtypelabs/shared": "3.31.0"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=22.12.0"