@arbidocs/sdk 0.4.90 → 0.4.91
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/dist/{browser-DqNDY_fc.d.cts → browser-DcxlFaYK.d.cts} +20 -6
- package/dist/{browser-DqNDY_fc.d.ts → browser-DcxlFaYK.d.ts} +20 -6
- package/dist/browser.cjs +17 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +17 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6857,6 +6857,7 @@ __export(workflow_steps_exports, {
|
|
|
6857
6857
|
PERSON_STEP_KINDS: () => PERSON_STEP_KINDS,
|
|
6858
6858
|
PlanStepsError: () => PlanStepsError,
|
|
6859
6859
|
SIGNAL_NAME_PATTERN: () => SIGNAL_NAME_PATTERN,
|
|
6860
|
+
STEP_FIELD_OPTION_TONES: () => STEP_FIELD_OPTION_TONES,
|
|
6860
6861
|
STEP_FIELD_TYPES: () => STEP_FIELD_TYPES,
|
|
6861
6862
|
STEP_ID_PATTERN: () => STEP_ID_PATTERN,
|
|
6862
6863
|
STEP_KINDS: () => STEP_KINDS,
|
|
@@ -7060,6 +7061,15 @@ function runWaitingOn(run) {
|
|
|
7060
7061
|
if (run.some((s2) => s2.kind !== "agent" && s2.phase === "ready")) return "person";
|
|
7061
7062
|
return "stuck";
|
|
7062
7063
|
}
|
|
7064
|
+
var STEP_FIELD_OPTION_TONES = [
|
|
7065
|
+
"neutral",
|
|
7066
|
+
"info",
|
|
7067
|
+
"success",
|
|
7068
|
+
"warning",
|
|
7069
|
+
"danger",
|
|
7070
|
+
"accent",
|
|
7071
|
+
"ai"
|
|
7072
|
+
];
|
|
7063
7073
|
var STEP_FIELD_TYPES = [
|
|
7064
7074
|
"text",
|
|
7065
7075
|
"longtext",
|
|
@@ -7311,6 +7321,13 @@ function checkFields(value, at2, problems) {
|
|
|
7311
7321
|
if (isSet(f2.options)) {
|
|
7312
7322
|
if (!Array.isArray(f2.options) || f2.options.some((o2) => !isRecord(o2) || typeof o2.value !== "string"))
|
|
7313
7323
|
problems.push(`${here}.options: a list of {value, label}, e.g. [{value: high}]`);
|
|
7324
|
+
else
|
|
7325
|
+
f2.options.forEach((o2, k2) => {
|
|
7326
|
+
if (isSet(o2.tone) && !STEP_FIELD_OPTION_TONES.includes(o2.tone))
|
|
7327
|
+
problems.push(
|
|
7328
|
+
`${here}.options[${k2}].tone: must be one of ${STEP_FIELD_OPTION_TONES.join(", ")} (got ${JSON.stringify(o2.tone)})`
|
|
7329
|
+
);
|
|
7330
|
+
});
|
|
7314
7331
|
}
|
|
7315
7332
|
});
|
|
7316
7333
|
}
|
|
@@ -9899,6 +9916,7 @@ exports.DOC_TERMINAL_STATUSES = DOC_TERMINAL_STATUSES;
|
|
|
9899
9916
|
exports.FileConfigStore = FileConfigStore;
|
|
9900
9917
|
exports.OpenClawOrchestrator = OpenClawOrchestrator;
|
|
9901
9918
|
exports.PlanStepsError = PlanStepsError;
|
|
9919
|
+
exports.STEP_FIELD_OPTION_TONES = STEP_FIELD_OPTION_TONES;
|
|
9902
9920
|
exports.WebSocketAuthError = WebSocketAuthError;
|
|
9903
9921
|
exports.account = account_exports;
|
|
9904
9922
|
exports.agentconfig = agentconfig_exports;
|