@ancha-labs/cli 0.4.15 → 0.4.17
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/ancha.mjs +1890 -1297
- package/lib/assets/SKILL.md +1 -1
- package/lib/assets/agents-section.md +1 -1
- package/lib/assets/docs/cloud.md +3 -1
- package/lib/assets/docs/datasets.md +2 -2
- package/lib/assets/docs/scenes.md +2 -2
- package/lib/assets/docs/setup.md +2 -2
- package/lib/assets/docs/traces.md +1 -1
- package/lib/assets/harbor/companion.mjs +114 -38
- package/lib/assets/harbor/driver.py +17 -3
- package/lib/assets/ui/app.js +1 -1
- package/lib/mcp-entry.mjs +10 -6
- package/lib/worker.mjs +220 -73
- package/lib/world-server.mjs +71 -36
- package/package.json +1 -1
package/lib/mcp-entry.mjs
CHANGED
|
@@ -57475,7 +57475,7 @@ var AnswerCheckSchema = external_exports.strictObject({
|
|
|
57475
57475
|
not_contains: texts.optional().describe("Text the final answer must not contain"),
|
|
57476
57476
|
numbers: external_exports.array(AnswerNumberSchema).min(1).optional().describe("Numbers the final answer must state, each within its tolerance; thousands separators, currency codes and symbols, minus signs and parentheses for negatives are read"),
|
|
57477
57477
|
case: external_exports.enum(["insensitive", "sensitive"]).optional().describe("How contains and not_contains compare letters; default insensitive")
|
|
57478
|
-
}).describe("Checks the agent's final answer (what it posts to ANCHA_DONE_URL, its HTTP reply, or
|
|
57478
|
+
}).describe("Checks the agent's final answer (what it posts to ANCHA_DONE_URL, its HTTP reply, or what it prints on stdout): the text and numbers it states");
|
|
57479
57479
|
|
|
57480
57480
|
// packages/core/src/duration.ts
|
|
57481
57481
|
var DURATION_RE = /^(-?)(?:(\d+)d)?(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/;
|
|
@@ -60364,10 +60364,10 @@ var BetterStackSeedSchema = external_exports.strictObject({
|
|
|
60364
60364
|
open2.add(entry2.source);
|
|
60365
60365
|
}
|
|
60366
60366
|
});
|
|
60367
|
-
seed2.onCall.forEach((
|
|
60367
|
+
seed2.onCall.forEach((calendar2, i) => calendar2.users.forEach((user5, j) => {
|
|
60368
60368
|
if (!people2.has(user5)) issue2(["onCall", i, "users", j], `${user5} is not a user`);
|
|
60369
60369
|
}));
|
|
60370
|
-
if (seed2.onCall.filter((
|
|
60370
|
+
if (seed2.onCall.filter((calendar2) => calendar2.default).length > 1) issue2(["onCall"], "only one default calendar");
|
|
60371
60371
|
seed2.statusPages.forEach((page2, i) => {
|
|
60372
60372
|
const names = new Set(page2.resources.map((resource2) => resource2.publicName));
|
|
60373
60373
|
page2.resources.forEach((resource2, j) => {
|
|
@@ -66737,10 +66737,14 @@ var NetsuiteRecordCheckSchema = external_exports.strictObject({
|
|
|
66737
66737
|
id: id8.optional(),
|
|
66738
66738
|
externalId: text11.optional(),
|
|
66739
66739
|
fields: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
66740
|
-
apply: external_exports.array(application).optional()
|
|
66740
|
+
apply: external_exports.array(application).optional(),
|
|
66741
|
+
credit: external_exports.array(application).optional()
|
|
66741
66742
|
}).refine((check3) => check3.id === void 0 !== (check3.externalId === void 0), { message: "name the record with id or with externalId, not both", path: ["id"] });
|
|
66742
|
-
var NetsuiteUnchangedCheckSchema = external_exports.strictObject({
|
|
66743
|
-
|
|
66743
|
+
var NetsuiteUnchangedCheckSchema = external_exports.strictObject({
|
|
66744
|
+
types: external_exports.array(external_exports.enum(netsuiteRecordTypes)).min(1),
|
|
66745
|
+
except: external_exports.array(external_exports.strictObject({ type: external_exports.enum(netsuiteRecordTypes), id: id8.optional(), externalId: text11.optional() }).refine((check3) => check3.id === void 0 !== (check3.externalId === void 0), { message: "name the record with id or with externalId, not both" })).optional()
|
|
66746
|
+
});
|
|
66747
|
+
var NetsuiteCountCheckSchema = external_exports.strictObject({ type: external_exports.enum(netsuiteRecordTypes), count: external_exports.number().int().min(0), includeSettlement: external_exports.boolean().optional() });
|
|
66744
66748
|
|
|
66745
66749
|
// packages/core/src/scene/schema.ts
|
|
66746
66750
|
var SUPPORTED_TWINS = ["slack", "github", "datadog", "pagerduty", "linkedin-ads", "salesforce", "gong", "hubspot", "ga4", "google-ads", "chatgpt-ads", "open-meteo", "google-drive", "gmail", "amazon-s3", "linear", "okta", "stripe", "clerk", "better-stack", "notion", "attio", "dropbox", "resend", "microsoft-word", "outlook", "shopify", "lob", "paypal", "jira", "kalshi", "intercom", "zendesk", "google-calendar", "twilio", "asana", "discord", "sentry", "airtable", "netsuite", "carrier-portal"];
|