@ancha-labs/cli 0.4.21 → 0.4.23

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/lib/mcp-entry.mjs CHANGED
@@ -57354,10 +57354,10 @@ var EXECUTION_SUPPORT = {
57354
57354
  "agent.input.per_event": sceneOnly,
57355
57355
  "agent.input.events": localOnly,
57356
57356
  "agent.input.http": all,
57357
- "agent.endpoint": localOnly,
57357
+ "agent.endpoint": { ...localOnly, "cloud-vm": true },
57358
57358
  "agent.slack_transport.feed": sceneOnly,
57359
- "agent.slack_transport.http": localOnly,
57360
- "agent.slack_transport.socket": localOnly,
57359
+ "agent.slack_transport.http": { ...localOnly, "cloud-vm": true },
57360
+ "agent.slack_transport.socket": { ...localOnly, "cloud-vm": true },
57361
57361
  "agent.env": sceneOnly,
57362
57362
  "agent.pass_env": sceneOnly,
57363
57363
  "agent.execution": sceneOnly,
@@ -66944,6 +66944,7 @@ var GitHubSeedSchema = external_exports.strictObject({
66944
66944
  draft: external_exports.boolean().optional(),
66945
66945
  user: refUse3.optional().describe("Author; defaults to the GitHub bot"),
66946
66946
  labels: external_exports.array(external_exports.string()).optional(),
66947
+ assignees: external_exports.array(refUse3).optional().describe("Assigned GitHub users"),
66947
66948
  at: duration6("Creation offset from start_time; must be <= 0; defaults to start_time").optional()
66948
66949
  })).optional(),
66949
66950
  issues: external_exports.array(external_exports.strictObject({
@@ -66954,6 +66955,7 @@ var GitHubSeedSchema = external_exports.strictObject({
66954
66955
  state: external_exports.enum(["open", "closed"]).optional(),
66955
66956
  user: refUse3.optional().describe("Author; defaults to the GitHub bot"),
66956
66957
  labels: external_exports.array(external_exports.string()).optional(),
66958
+ assignees: external_exports.array(refUse3).optional().describe("Assigned GitHub users"),
66957
66959
  at: duration6("Creation offset from start_time; must be <= 0; defaults to start_time").optional(),
66958
66960
  edits: external_exports.array(GitHubContentEditSeed).optional().describe("Body edit history with absolute timestamps; editor defaults to the bot"),
66959
66961
  timeline: external_exports.array(GitHubTimelineSeed).optional().describe("Issue events with absolute timestamps; actor defaults to the bot"),
@@ -67300,6 +67302,7 @@ var fields2 = {
67300
67302
  };
67301
67303
  var TestFileSchema = external_exports.strictObject({
67302
67304
  ...fields2,
67305
+ function_tools: SceneSchema.shape.tools,
67303
67306
  world: external_exports.union([WorldId, external_exports.record(external_exports.string(), external_exports.unknown())], { error: WORLD_ERROR }),
67304
67307
  until: external_exports.unknown().optional(),
67305
67308
  checks: external_exports.array(external_exports.record(external_exports.string(), external_exports.unknown())).optional(),
@@ -67307,6 +67310,7 @@ var TestFileSchema = external_exports.strictObject({
67307
67310
  });
67308
67311
  var TestFileDocument = external_exports.strictObject({
67309
67312
  ...fields2,
67313
+ function_tools: SceneSchema.shape.tools,
67310
67314
  world: external_exports.union([WorldId, WorldBodySchema]).describe("A world file's id (ancha/worlds/<id>.yaml), or the world inline"),
67311
67315
  until: SceneSchema.shape.until,
67312
67316
  checks: SceneSchema.shape.checks.optional(),
@@ -67523,6 +67527,7 @@ var githubStarterSeed = {
67523
67527
  name: "acme/orders",
67524
67528
  default_branch: "main",
67525
67529
  private: true,
67530
+ collaborators: [{ user: "$github_bot", permission: "write" }],
67526
67531
  commits: [
67527
67532
  { ref: "github_pagination", message: "Paginate GET /orders", author: "$github_greg", at: "-50h", files: { "src/orders/list.ts": "export const defaultPageSize = 50;\nexport const maxPageSize = 200;\n" } },
67528
67533
  { ref: "github_node24", message: "Upgrade the runtime to Node 24", author: "$github_ben", at: "-30h", parents: ["$github_pagination"], files: { ".nvmrc": "24\n" } },
@@ -67543,7 +67548,7 @@ var githubStarterSeed = {
67543
67548
  { ref: "github_rate_limit_pr", number: 11, title: "Rate-limit order creation per API key", body: "120 orders per minute per key; returns 429 with Retry-After.", head: "$github_rate_limit", base: "main" }
67544
67549
  ],
67545
67550
  issues: [
67546
- { ref: "github_export_issue", number: 13, title: "Explain delayed CSV exports", body: "Add a note that exports may take two minutes to appear.", state: "open", comments: [{ user: "$github_ben", body: "Support reported this during the Ridgeway pilot." }] },
67551
+ { ref: "github_export_issue", number: 13, assignees: ["$github_ben"], title: "Explain delayed CSV exports", body: "Add a note that exports may take two minutes to appear.", state: "open", comments: [{ user: "$github_ben", body: "Support reported this during the Ridgeway pilot." }] },
67547
67552
  { ref: "github_cents_issue", number: 1, title: "Order totals off by one cent for multi-currency carts", body: "Rounding happens per line instead of per order.", state: "closed", comments: [{ user: "$github_greg", body: "Fixed by rounding once at the order level." }] },
67548
67553
  { ref: "github_page_issue", number: 2, title: "GET /orders is slow for large accounts", body: "Accounts with more than 50k orders time out after 30 seconds.", state: "closed" },
67549
67554
  { ref: "github_timeout_issue", number: 4, title: "Fulfillment webhooks time out after 10 seconds", body: "Warehouse partners sometimes take 15 seconds to acknowledge.", state: "closed", comments: [{ user: "$github_rachel", body: "Retries with backoff in #10." }] },
@@ -67562,6 +67567,7 @@ var githubStarterSeed = {
67562
67567
  name: "acme/web",
67563
67568
  default_branch: "main",
67564
67569
  private: true,
67570
+ collaborators: [{ user: "$github_bot", permission: "write" }],
67565
67571
  commits: [
67566
67572
  { ref: "github_web_main", message: "Release 2026.10.29", author: "$github_greg", at: "-30h", files: { "README.md": "# Acme web\n\nThe dashboard app.\n", "src/config.ts": "export const pollIntervalSeconds = 30;\n" } },
67567
67573
  { ref: "github_web_schedule", message: "Add the report schedule page", author: "$github_greg", at: "-3h", parents: ["$github_web_main"], files: { "src/config.ts": "export const pollIntervalSeconds = 30;\nexport const maxSchedulesPerUser = 10;\n" } }
@@ -67579,6 +67585,7 @@ var githubStarterSeed = {
67579
67585
  name: "acme/warehouse-sync",
67580
67586
  default_branch: "main",
67581
67587
  private: true,
67588
+ collaborators: [{ user: "$github_bot", permission: "write" }],
67582
67589
  commits: [{ ref: "github_sync_main", message: "Stream large tables in batches", author: "$github_victor", at: "-10h", files: { "README.md": "# Warehouse sync\n\nCopies customer warehouse tables into Acme.\n", "config/sync.ts": "export const batchSize = 5000;\nexport const syncIntervalMinutes = 15;\n" } }],
67583
67590
  branches: [{ name: "main", head: "$github_sync_main" }],
67584
67591
  production: "$github_sync_main",
@@ -67793,6 +67800,22 @@ var NAMED_TARGETS = {
67793
67800
  var TRANSACTIONS = new Set(NETSUITE_TRANSACTION_TYPES);
67794
67801
  var ITEMS = new Set(NETSUITE_ITEM_TYPES);
67795
67802
 
67803
+ // packages/core/src/function-tool-observation.ts
67804
+ var functionToolObservationSchema = external_exports.strictObject({
67805
+ registered: external_exports.array(external_exports.string()),
67806
+ complete: external_exports.boolean(),
67807
+ protocol_version: external_exports.number().int().nonnegative().optional(),
67808
+ required: external_exports.array(external_exports.string()),
67809
+ missing: external_exports.array(external_exports.string()),
67810
+ tools: external_exports.array(external_exports.strictObject({
67811
+ name: external_exports.string(),
67812
+ registered: external_exports.boolean(),
67813
+ called: external_exports.number().int().nonnegative(),
67814
+ completed: external_exports.number().int().nonnegative(),
67815
+ pending: external_exports.number().int().nonnegative()
67816
+ }))
67817
+ });
67818
+
67796
67819
  // backend/src/mcp/configuration.ts
67797
67820
  function validateMcpConnection(connection) {
67798
67821
  let url3;