@amaster.ai/employee-runtime-connector 0.1.1-beta.294 → 0.1.1-beta.295
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.
|
@@ -9141,8 +9141,27 @@ var goalCriterionProgressReadModelSchema = external_exports.object({
|
|
|
9141
9141
|
expectedDecisionToken: sha256Schema5.nullable(),
|
|
9142
9142
|
snoozedUntil: external_exports.string().datetime().nullable()
|
|
9143
9143
|
}).strict();
|
|
9144
|
+
var goalCompletionSummaryBaseSchema = external_exports.object({
|
|
9145
|
+
basis: external_exports.literal("acceptance_criteria"),
|
|
9146
|
+
satisfiedCount: external_exports.number().int().nonnegative(),
|
|
9147
|
+
applicableCount: external_exports.number().int().nonnegative()
|
|
9148
|
+
});
|
|
9149
|
+
var goalCompletionSummarySchema = external_exports.discriminatedUnion("state", [
|
|
9150
|
+
goalCompletionSummaryBaseSchema.extend({
|
|
9151
|
+
state: external_exports.literal("ready"),
|
|
9152
|
+
applicableCount: external_exports.number().int().positive(),
|
|
9153
|
+
percent: external_exports.number().int().min(0).max(100),
|
|
9154
|
+
authorityRevision: external_exports.number().int().positive()
|
|
9155
|
+
}).strict(),
|
|
9156
|
+
goalCompletionSummaryBaseSchema.extend({
|
|
9157
|
+
state: external_exports.literal("unavailable"),
|
|
9158
|
+
percent: external_exports.null(),
|
|
9159
|
+
authorityRevision: external_exports.number().int().positive().nullable()
|
|
9160
|
+
}).strict()
|
|
9161
|
+
]);
|
|
9144
9162
|
var goalCriteriaProgressReadModelSchema = external_exports.object({
|
|
9145
|
-
items: external_exports.array(goalCriterionProgressReadModelSchema)
|
|
9163
|
+
items: external_exports.array(goalCriterionProgressReadModelSchema),
|
|
9164
|
+
completion: goalCompletionSummarySchema
|
|
9146
9165
|
}).strict();
|
|
9147
9166
|
var DEFAULT_CONTINUE_PROGRESS_RATIONALE = "Board \u786E\u8BA4\u5F53\u524D\u4E1A\u52A1\u7ED3\u679C\u5C1A\u672A\u8FBE\u5230\uFF0C\u7EE7\u7EED\u63A8\u8FDB\u3002";
|
|
9148
9167
|
var DEFAULT_KEEP_IN_GOAL_RATIONALE = "\u516C\u53F8\u8D1F\u8D23\u4EBA\u786E\u8BA4\u8FD9\u6761\u8FBE\u6210\u6807\u51C6\u4ECD\u9002\u7528\u4E8E\u5F53\u524D\u76EE\u6807\u3002";
|
|
@@ -12949,6 +12968,21 @@ var boardReactivateBusinessDemandAutomationRuleSchema = external_exports.object(
|
|
|
12949
12968
|
rationale: external_exports.string().trim().min(1).max(2e3)
|
|
12950
12969
|
}).strict();
|
|
12951
12970
|
|
|
12971
|
+
// ../shared/src/goal-action-semantics.ts
|
|
12972
|
+
var GOAL_ACTION_INTERACTION_PURPOSE_CODES = [
|
|
12973
|
+
"goal_gap_authority_exception",
|
|
12974
|
+
"goal_gap_observed_effect",
|
|
12975
|
+
"goal_gap_fact_correction",
|
|
12976
|
+
"goal_gap_legacy_outcome_attribution",
|
|
12977
|
+
"goal_gap_work_purpose_catalog_candidate"
|
|
12978
|
+
];
|
|
12979
|
+
var GOAL_ACTION_KINDS = [
|
|
12980
|
+
"criterion_decision",
|
|
12981
|
+
"legacy_outcome_attribution",
|
|
12982
|
+
"business_demand_decision"
|
|
12983
|
+
];
|
|
12984
|
+
var PURPOSE_CODES = new Set(GOAL_ACTION_INTERACTION_PURPOSE_CODES);
|
|
12985
|
+
|
|
12952
12986
|
// ../shared/src/types/governed-mcp.ts
|
|
12953
12987
|
var GOVERNED_MCP_GATEWAY_ROUTE_PATH = "/tool-gateway/mcp";
|
|
12954
12988
|
var GOVERNED_MCP_GATEWAY_API_PATH = `/api${GOVERNED_MCP_GATEWAY_ROUTE_PATH}`;
|
|
@@ -13599,7 +13633,7 @@ var mirrorXIssueHandlingListResponseSchema = external_exports.object({
|
|
|
13599
13633
|
}).strict();
|
|
13600
13634
|
|
|
13601
13635
|
// ../shared/src/types/inbox-action-items.ts
|
|
13602
|
-
var INBOX_ACTION_ITEMS_SCHEMA_VERSION = "mirrorx_inbox_action_items/
|
|
13636
|
+
var INBOX_ACTION_ITEMS_SCHEMA_VERSION = "mirrorx_inbox_action_items/v2";
|
|
13603
13637
|
var INBOX_ACTION_ITEM_KINDS = [
|
|
13604
13638
|
"issue",
|
|
13605
13639
|
"approval",
|
|
@@ -13654,6 +13688,8 @@ var inboxActionItemSchema = external_exports.object({
|
|
|
13654
13688
|
label: external_exports.string().min(1)
|
|
13655
13689
|
}).strict(),
|
|
13656
13690
|
resourceId: external_exports.string().min(1),
|
|
13691
|
+
attentionScope: external_exports.enum(["task", "goal", "company"]),
|
|
13692
|
+
goalActionKind: external_exports.enum(GOAL_ACTION_KINDS).nullable(),
|
|
13657
13693
|
goalId: external_exports.string().uuid().nullable().optional(),
|
|
13658
13694
|
issueId: external_exports.string().uuid().nullable(),
|
|
13659
13695
|
issueIdentifier: external_exports.string().nullable(),
|
|
@@ -34344,7 +34380,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
34344
34380
|
}
|
|
34345
34381
|
|
|
34346
34382
|
// src/amaster-runtime-daemon.mjs
|
|
34347
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
34383
|
+
var CONNECTOR_VERSION = "0.1.1-beta.295";
|
|
34348
34384
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
34349
34385
|
var daemonRequire = createRequire(import.meta.url);
|
|
34350
34386
|
var MAX_CHECKPOINT_BYTES = 20 * 1024 * 1024;
|
|
@@ -39525,7 +39561,7 @@ async function executeRunCommand(config, command) {
|
|
|
39525
39561
|
mkdirSync10(promptDir, { recursive: true, mode: 448 });
|
|
39526
39562
|
const promptPath = join19(promptDir, "conversation-system.md");
|
|
39527
39563
|
writeFileSync12(promptPath, appendedSystemPrompt, { encoding: "utf8", mode: 384, flag: "wx" });
|
|
39528
|
-
handoffPiRunPathsToChild(config, [promptPath]);
|
|
39564
|
+
handoffPiRunPathsToChild(config, [promptDir, promptPath]);
|
|
39529
39565
|
const printIndex = invocation.args.lastIndexOf("-p");
|
|
39530
39566
|
invocation.args.splice(printIndex < 0 ? invocation.args.length : printIndex, 0, "--append-system-prompt", promptPath);
|
|
39531
39567
|
}
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { homedir, hostname } from "node:os";
|
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { BUILD_SUPPORTED_CAPABILITIES } from "./amaster-runtime-daemon/capability-registry.mjs";
|
|
9
9
|
|
|
10
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
10
|
+
const CONNECTOR_VERSION = "0.1.1-beta.295";
|
|
11
11
|
|
|
12
12
|
const CONFIG_KEY_MAP = new Map([
|
|
13
13
|
["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
|