@anchrd/colab-sdk 0.1.53 → 0.1.54
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/actions/actions.d.ts +0 -20
- package/dist/actions/actions.js +0 -3
- package/dist/flows/flows.d.ts +0 -10
- package/dist/flows/flows.js +2 -4
- package/dist/gadgets/gadgets.d.ts +0 -21
- package/dist/gadgets/gadgets.js +1 -6
- package/dist/home/home.d.ts +0 -5
- package/dist/operators/operators.js +2 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +1 -1
- package/dist/sources/sources.d.ts +0 -10
- package/dist/sources/sources.js +4 -4
- package/package.json +1 -1
|
@@ -115,11 +115,6 @@ export declare const ActionGadget: z.ZodObject<{
|
|
|
115
115
|
message: z.ZodString;
|
|
116
116
|
callId: z.ZodNullable<z.ZodTemplateLiteral<`call_${string}`>>;
|
|
117
117
|
open: z.ZodNumber;
|
|
118
|
-
level: z.ZodEnum<{
|
|
119
|
-
publish: "publish";
|
|
120
|
-
draft: "draft";
|
|
121
|
-
report: "report";
|
|
122
|
-
}>;
|
|
123
118
|
hint: z.ZodBoolean;
|
|
124
119
|
}, z.core.$strip>;
|
|
125
120
|
export type ActionGadget = z.infer<typeof ActionGadget>;
|
|
@@ -254,11 +249,6 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
254
249
|
message: z.ZodString;
|
|
255
250
|
callId: z.ZodNullable<z.ZodTemplateLiteral<`call_${string}`>>;
|
|
256
251
|
open: z.ZodNumber;
|
|
257
|
-
level: z.ZodEnum<{
|
|
258
|
-
publish: "publish";
|
|
259
|
-
draft: "draft";
|
|
260
|
-
report: "report";
|
|
261
|
-
}>;
|
|
262
252
|
hint: z.ZodBoolean;
|
|
263
253
|
}, z.core.$strip>>;
|
|
264
254
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -792,11 +782,6 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
792
782
|
message: z.ZodString;
|
|
793
783
|
callId: z.ZodNullable<z.ZodTemplateLiteral<`call_${string}`>>;
|
|
794
784
|
open: z.ZodNumber;
|
|
795
|
-
level: z.ZodEnum<{
|
|
796
|
-
publish: "publish";
|
|
797
|
-
draft: "draft";
|
|
798
|
-
report: "report";
|
|
799
|
-
}>;
|
|
800
785
|
hint: z.ZodBoolean;
|
|
801
786
|
}, z.core.$strip>>;
|
|
802
787
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1083,11 +1068,6 @@ export declare const ActionList: z.ZodObject<{
|
|
|
1083
1068
|
message: z.ZodString;
|
|
1084
1069
|
callId: z.ZodNullable<z.ZodTemplateLiteral<`call_${string}`>>;
|
|
1085
1070
|
open: z.ZodNumber;
|
|
1086
|
-
level: z.ZodEnum<{
|
|
1087
|
-
publish: "publish";
|
|
1088
|
-
draft: "draft";
|
|
1089
|
-
report: "report";
|
|
1090
|
-
}>;
|
|
1091
1071
|
hint: z.ZodBoolean;
|
|
1092
1072
|
}, z.core.$strip>>;
|
|
1093
1073
|
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
package/dist/actions/actions.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TaskColumn } from "../columns/columns.js";
|
|
3
3
|
import { CallId } from "../connectors/connectors.js";
|
|
4
|
-
import { GadgetLevel } from "../gadgets/gadgets.js";
|
|
5
4
|
import { packages } from "../grammar/grammar.js";
|
|
6
5
|
import { Digest, InstructionsLink, Known, KnownText } from "../instructions/instructions.js";
|
|
7
6
|
import { Limit as PageSize } from "../list-input.js";
|
|
@@ -90,8 +89,6 @@ export const ActionGadget = z.object({
|
|
|
90
89
|
callId: CallId.nullable(),
|
|
91
90
|
// How many different problems are open, each counted once however often it happened.
|
|
92
91
|
open: z.number().int(),
|
|
93
|
-
// How far the responsible may go: report, repair as a draft, or repair and publish.
|
|
94
|
-
level: GadgetLevel,
|
|
95
92
|
// Nobody is responsible: the row reaches the publisher only to name one.
|
|
96
93
|
hint: z.boolean(),
|
|
97
94
|
});
|
package/dist/flows/flows.d.ts
CHANGED
|
@@ -1226,11 +1226,6 @@ export declare const FlowUpdateInput: z.ZodObject<{
|
|
|
1226
1226
|
}, z.core.$strict>>;
|
|
1227
1227
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1228
1228
|
responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
|
|
1229
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
1230
|
-
publish: "publish";
|
|
1231
|
-
draft: "draft";
|
|
1232
|
-
report: "report";
|
|
1233
|
-
}>>;
|
|
1234
1229
|
recordingDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
|
|
1235
1230
|
}, z.core.$strict>>;
|
|
1236
1231
|
fromVersion: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2290,11 +2285,6 @@ export declare const FlowDetail: z.ZodObject<{
|
|
|
2290
2285
|
human: "human";
|
|
2291
2286
|
}>>;
|
|
2292
2287
|
}, z.core.$strip>>;
|
|
2293
|
-
level: z.ZodEnum<{
|
|
2294
|
-
publish: "publish";
|
|
2295
|
-
draft: "draft";
|
|
2296
|
-
report: "report";
|
|
2297
|
-
}>;
|
|
2298
2288
|
recordingDays: z.ZodNumber;
|
|
2299
2289
|
credentials: z.ZodArray<z.ZodObject<{
|
|
2300
2290
|
name: z.ZodString;
|
package/dist/flows/flows.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
2
|
+
import { GadgetVersionRef } from "../gadgets/gadgets.js";
|
|
3
3
|
import { idSchema } from "../ids/ids.js";
|
|
4
4
|
import { CreateSection, NodeId, NodePath, NodePerson, SecretId } from "../nodes/nodes.js";
|
|
5
5
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
@@ -320,8 +320,7 @@ const Hosts = z
|
|
|
320
320
|
const FlowSettingsInput = z.strictObject({
|
|
321
321
|
responsibleId: UserId.nullable()
|
|
322
322
|
.optional()
|
|
323
|
-
.describe("The Operator or person who hears of a
|
|
324
|
-
level: GadgetLevel.optional().describe("How far the responsible goes: report, draft (repair as a draft, the default) or publish (repair and publish)."),
|
|
323
|
+
.describe("The Operator or person who hears of a fixed run that fails or meets an open step, takes the same run over, repairs the flow and publishes it; null for nobody, then such a run ends. Only whoever may write the flow changes it."),
|
|
325
324
|
recordingDays: RecordingDays.optional(),
|
|
326
325
|
});
|
|
327
326
|
// ---- The tools' inputs ----
|
|
@@ -457,7 +456,6 @@ export const FlowDetail = z.object({
|
|
|
457
456
|
settings: z
|
|
458
457
|
.object({
|
|
459
458
|
responsible: NodePerson.nullable(),
|
|
460
|
-
level: GadgetLevel,
|
|
461
459
|
recordingDays: z.number().int(),
|
|
462
460
|
// Names only, never values. ⚠️ Not `secrets`: `/mcp` strikes every value under such a name.
|
|
463
461
|
credentials: z.array(z.object({ name: z.string(), setAt: z.iso.datetime() })),
|
|
@@ -49,12 +49,6 @@ export declare const GadgetVersionRef: z.ZodPreprocess<z.ZodUnion<readonly [z.Zo
|
|
|
49
49
|
draft: "draft";
|
|
50
50
|
}>, z.ZodNumber]>, unknown>;
|
|
51
51
|
export type GadgetVersionRef = z.infer<typeof GadgetVersionRef>;
|
|
52
|
-
export declare const GadgetLevel: z.ZodEnum<{
|
|
53
|
-
publish: "publish";
|
|
54
|
-
draft: "draft";
|
|
55
|
-
report: "report";
|
|
56
|
-
}>;
|
|
57
|
-
export type GadgetLevel = z.infer<typeof GadgetLevel>;
|
|
58
52
|
export declare const gadgetLogDays: readonly [7, 14, 30];
|
|
59
53
|
export declare const GadgetCreateInput: z.ZodObject<{
|
|
60
54
|
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
@@ -101,11 +95,6 @@ export declare const GadgetUpdateInput: z.ZodObject<{
|
|
|
101
95
|
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
102
96
|
settings: z.ZodOptional<z.ZodObject<{
|
|
103
97
|
responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
|
|
104
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
publish: "publish";
|
|
106
|
-
draft: "draft";
|
|
107
|
-
report: "report";
|
|
108
|
-
}>>;
|
|
109
98
|
logDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
|
|
110
99
|
uses: z.ZodOptional<z.ZodRecord<z.ZodTemplateLiteral<`node_${string}`>, z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
111
100
|
original: z.ZodOptional<z.ZodNull>;
|
|
@@ -233,11 +222,6 @@ export declare const GadgetSettings: z.ZodObject<{
|
|
|
233
222
|
human: "human";
|
|
234
223
|
}>>;
|
|
235
224
|
}, z.core.$strip>>;
|
|
236
|
-
level: z.ZodEnum<{
|
|
237
|
-
publish: "publish";
|
|
238
|
-
draft: "draft";
|
|
239
|
-
report: "report";
|
|
240
|
-
}>;
|
|
241
225
|
logDays: z.ZodNumber;
|
|
242
226
|
}, z.core.$strip>;
|
|
243
227
|
export type GadgetSettings = z.infer<typeof GadgetSettings>;
|
|
@@ -584,11 +568,6 @@ export declare const GadgetDetail: z.ZodObject<{
|
|
|
584
568
|
human: "human";
|
|
585
569
|
}>>;
|
|
586
570
|
}, z.core.$strip>>;
|
|
587
|
-
level: z.ZodEnum<{
|
|
588
|
-
publish: "publish";
|
|
589
|
-
draft: "draft";
|
|
590
|
-
report: "report";
|
|
591
|
-
}>;
|
|
592
571
|
logDays: z.ZodNumber;
|
|
593
572
|
}, z.core.$strip>>;
|
|
594
573
|
rights: z.ZodObject<{
|
package/dist/gadgets/gadgets.js
CHANGED
|
@@ -72,9 +72,6 @@ export const GadgetManifest = z.strictObject({
|
|
|
72
72
|
// Which state of the gadget: the live version, the draft, or a published version by its number.
|
|
73
73
|
// Over REST the query string carries text, so digits become the number here.
|
|
74
74
|
export const GadgetVersionRef = z.preprocess((value) => (typeof value === "string" && /^[1-9][0-9]{0,8}$/.test(value) ? Number(value) : value), z.union([z.enum(["live", "draft"]), z.number().int().min(1)]));
|
|
75
|
-
// Who answers for errors and red tests, and how far they may go (Nodes › Gadget › Einstellungen):
|
|
76
|
-
// only report, repair as a draft (the default), or repair and publish.
|
|
77
|
-
export const GadgetLevel = z.enum(["report", "draft", "publish"]);
|
|
78
75
|
export const gadgetLogDays = [7, 14, 30];
|
|
79
76
|
const LogDays = z
|
|
80
77
|
.union([z.literal(7), z.literal(14), z.literal(30)])
|
|
@@ -133,8 +130,7 @@ export const GadgetGetInput = z.strictObject({
|
|
|
133
130
|
const GadgetSettingsInput = z.strictObject({
|
|
134
131
|
responsibleId: UserId.nullable()
|
|
135
132
|
.optional()
|
|
136
|
-
.describe("The Operator or person who gets every new error and red test as an Action; null for nobody, then the publisher gets a hint."),
|
|
137
|
-
level: GadgetLevel.optional().describe("How far the responsible goes: report, draft (repair as a draft, the default) or publish (repair and publish, only with every test green and no new rights)."),
|
|
133
|
+
.describe("The Operator or person who gets every new error and red test as an Action, repairs it and publishes the repair (only with every test green and no new rights); null for nobody, then the publisher gets a hint. Only whoever may write the gadget changes it."),
|
|
138
134
|
logDays: LogDays.optional(),
|
|
139
135
|
uses: z
|
|
140
136
|
.record(NodeId, NodeId)
|
|
@@ -265,7 +261,6 @@ export const GadgetDiffFile = GadgetChange.extend({
|
|
|
265
261
|
});
|
|
266
262
|
export const GadgetSettings = z.object({
|
|
267
263
|
responsible: NodePerson.nullable(),
|
|
268
|
-
level: GadgetLevel,
|
|
269
264
|
logDays: z.number().int(),
|
|
270
265
|
});
|
|
271
266
|
// One use of the `colab` binding during a call: which tool, how long, and the error code it answered
|
package/dist/home/home.d.ts
CHANGED
|
@@ -254,11 +254,6 @@ export declare const Home: z.ZodObject<{
|
|
|
254
254
|
human: "human";
|
|
255
255
|
}>>;
|
|
256
256
|
}, z.core.$strip>>;
|
|
257
|
-
level: z.ZodEnum<{
|
|
258
|
-
publish: "publish";
|
|
259
|
-
draft: "draft";
|
|
260
|
-
report: "report";
|
|
261
|
-
}>;
|
|
262
257
|
logDays: z.ZodNumber;
|
|
263
258
|
}, z.core.$strip>>;
|
|
264
259
|
rights: z.ZodObject<{
|
|
@@ -975,7 +975,8 @@ export const ClosureFound = z.discriminatedUnion("text", [
|
|
|
975
975
|
published: z.boolean(),
|
|
976
976
|
problems: z.int().min(0),
|
|
977
977
|
}),
|
|
978
|
-
// The gadget's level
|
|
978
|
+
// The gadget's level did not allow the outcome. Not found any more since #1237 (E276); it stays
|
|
979
|
+
// for closures stored before.
|
|
979
980
|
z.object({ text: z.literal("level"), level: z.enum(["report", "draft", "publish"]) }),
|
|
980
981
|
// The goal run as it stands.
|
|
981
982
|
z.object({ text: z.literal("goalRun"), status: z.string(), followUp: z.boolean() }),
|
package/dist/sdk.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { FileCreateInput, FileDescribeInput, FileDescription, FileDetail, type F
|
|
|
22
22
|
export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, type FlowRunStatus, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, type FlowRunStepStatus, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, } from "./flows/flow-runs.js";
|
|
23
23
|
export { FlowAction, FlowActions, type FlowActionType, FlowCreateInput, FlowDetail, FlowGetInput, FlowHost, FlowHour, FlowPublishInput, FlowReachedPath, FlowSchedule, FlowScheduleDetail, FlowSecret, FlowSecretCreateInput, FlowSecretList, FlowSecretListInput, FlowSecretName, FlowSecretRemoved, FlowSecretRemoveInput, FlowSecretUpdateInput, FlowStep, FlowStepCreateInput, FlowStepId, FlowStepMoveInput, FlowStepRemoveInput, FlowStepState, FlowStepUpdateInput, FlowSubStep, FlowTarget, FlowUpdateInput, FlowVersionContent, flowActionTypes, flowLimits, flowReadTakes, flowRecordingDays, flowRhythms, flowScheduleProblem, flowStepStates, } from "./flows/flows.js";
|
|
24
24
|
export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
|
|
25
|
-
export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput,
|
|
25
|
+
export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
|
|
26
26
|
export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalProof, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
|
|
27
27
|
export { type Action, actions, hasRoute, isAction, isPackage, isWord, type Package, packages, parseConnectorFunction, parseToolName, type Resource, type Route, resources, type ToolName, toolAnnotations, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
|
|
28
28
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
package/dist/sdk.js
CHANGED
|
@@ -25,7 +25,7 @@ export { FileCreateInput, FileDescribeInput, FileDescription, FileDetail, FileGe
|
|
|
25
25
|
export { FlowBox, FlowElementRef, FlowFreeAction, FlowLiveClientMessage, FlowLiveServerMessage, FlowRun, FlowRunActed, FlowRunActionCreateInput, FlowRunCancelInput, FlowRunCompleted, FlowRunCompleteInput, FlowRunCreateInput, FlowRunDetail, FlowRunGetInput, FlowRunId, FlowRunList, FlowRunListInput, FlowRunPage, FlowRunPageGetInput, FlowRunPicture, FlowRunStarted, FlowRunStep, FlowRunStepCreateInput, FlowRunStepResult, FlowRunStepStarted, FlowRunStepUpdateInput, flowLivePath, flowPicturePath, flowRunKinds, flowRunStatuses, flowRunStepStatuses, flowRunTriggers, } from "./flows/flow-runs.js";
|
|
26
26
|
export { FlowAction, FlowActions, FlowCreateInput, FlowDetail, FlowGetInput, FlowHost, FlowHour, FlowPublishInput, FlowReachedPath, FlowSchedule, FlowScheduleDetail, FlowSecret, FlowSecretCreateInput, FlowSecretList, FlowSecretListInput, FlowSecretName, FlowSecretRemoved, FlowSecretRemoveInput, FlowSecretUpdateInput, FlowStep, FlowStepCreateInput, FlowStepId, FlowStepMoveInput, FlowStepRemoveInput, FlowStepState, FlowStepUpdateInput, FlowSubStep, FlowTarget, FlowUpdateInput, FlowVersionContent, flowActionTypes, flowLimits, flowReadTakes, flowRecordingDays, flowRhythms, flowScheduleProblem, flowStepStates, } from "./flows/flows.js";
|
|
27
27
|
export { FunctionRemoved, ServiceInterfaceFunctionCreateInput, ServiceInterfaceFunctionRemoveInput, ServiceInterfaceFunctionUpdateInput, } from "./functions/functions.js";
|
|
28
|
-
export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput,
|
|
28
|
+
export { GadgetAccess, GadgetCall, GadgetCallCreateInput, GadgetCallEntry, GadgetCallGetInput, GadgetCallItem, GadgetCallList, GadgetCallListInput, GadgetCallStatus, GadgetChange, GadgetClientLog, GadgetConsoleLine, GadgetCreateInput, GadgetDetail, GadgetDiffFile, GadgetDistAnswer, GadgetFile, GadgetFilePath, GadgetFunction, GadgetFunctionName, GadgetGetInput, GadgetManifest, GadgetPublishInput, GadgetRequires, GadgetSettings, GadgetTestHooks, GadgetTestInput, GadgetTestResult, GadgetTestRun, GadgetToolUse, GadgetUpdateInput, GadgetUseRight, GadgetUses, GadgetVersionRef, gadgetLimits, gadgetLogDays, TestLimits, testLimits, testLimitsText, } from "./gadgets/gadgets.js";
|
|
29
29
|
export { GoalCheck, GoalCreateInput, GoalDetail, GoalFields, GoalFollowUp, GoalGetInput, GoalId, GoalPlanning, GoalPlanStep, GoalProof, GoalReady, GoalReport, GoalRunCancelInput, GoalRunCompleteInput, GoalRunCreateInput, GoalRunDetail, GoalRunGetInput, GoalRunItem, GoalRunList, GoalRunListInput, GoalRunStatus, GoalRunTrigger, GoalRunUpdateInput, GoalSession, GoalUpdateInput, goalPlannings, goalRunStatuses, } from "./goals/goals.js";
|
|
30
30
|
export { actions, hasRoute, isAction, isPackage, isWord, packages, parseConnectorFunction, parseToolName, resources, toolAnnotations, toolEvent, toolPermission, toolRoute, toolSchemaName, verbs, } from "./grammar/grammar.js";
|
|
31
31
|
export { GrantId, GrantRight, NodeGrant, NodeGrantList, NodeGrantListInput, NodeGrantRevoked, NodeGrantRevokeInput, NodeShared, NodeShareInput, } from "./grants/grants.js";
|
|
@@ -242,11 +242,6 @@ export declare const SourceUpdateInput: z.ZodObject<{
|
|
|
242
242
|
discard: z.ZodOptional<z.ZodLiteral<true>>;
|
|
243
243
|
settings: z.ZodOptional<z.ZodObject<{
|
|
244
244
|
responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
|
|
245
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
246
|
-
publish: "publish";
|
|
247
|
-
draft: "draft";
|
|
248
|
-
report: "report";
|
|
249
|
-
}>>;
|
|
250
245
|
keepDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodLiteral<180>]>>;
|
|
251
246
|
logDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
|
|
252
247
|
original: z.ZodOptional<z.ZodNull>;
|
|
@@ -969,11 +964,6 @@ export declare const SourceDetail: z.ZodObject<{
|
|
|
969
964
|
human: "human";
|
|
970
965
|
}>>;
|
|
971
966
|
}, z.core.$strip>>;
|
|
972
|
-
level: z.ZodEnum<{
|
|
973
|
-
publish: "publish";
|
|
974
|
-
draft: "draft";
|
|
975
|
-
report: "report";
|
|
976
|
-
}>;
|
|
977
967
|
keepDays: z.ZodNumber;
|
|
978
968
|
logDays: z.ZodNumber;
|
|
979
969
|
credentials: z.ZodArray<z.ZodObject<{
|
package/dist/sources/sources.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { GadgetFile, GadgetFilePath,
|
|
2
|
+
import { GadgetFile, GadgetFilePath, GadgetTestRun } from "../gadgets/gadgets.js";
|
|
3
3
|
import { idSchema } from "../ids/ids.js";
|
|
4
4
|
import { Flag, Limit } from "../list-input.js";
|
|
5
5
|
import { CreateSection, NodeId, NodePath, NodePerson } from "../nodes/nodes.js";
|
|
@@ -227,8 +227,9 @@ export const SourceUpdateInput = z.strictObject({
|
|
|
227
227
|
discard: z.literal(true).optional().describe("Throw the draft away."),
|
|
228
228
|
settings: z
|
|
229
229
|
.strictObject({
|
|
230
|
-
responsibleId: UserId.nullable()
|
|
231
|
-
|
|
230
|
+
responsibleId: UserId.nullable()
|
|
231
|
+
.optional()
|
|
232
|
+
.describe("The Operator or person who gets every new failure as an Action, repairs it and publishes the repair (only with every test green and no new hosts); null for nobody. Only whoever may write the source changes it."),
|
|
232
233
|
keepDays: KeepDays.optional(),
|
|
233
234
|
logDays: LogDays.optional(),
|
|
234
235
|
original: z
|
|
@@ -473,7 +474,6 @@ export const SourceDetail = z.object({
|
|
|
473
474
|
settings: z
|
|
474
475
|
.object({
|
|
475
476
|
responsible: NodePerson.nullable(),
|
|
476
|
-
level: GadgetLevel,
|
|
477
477
|
keepDays: z.number().int(),
|
|
478
478
|
logDays: z.number().int(),
|
|
479
479
|
// Names only, never values: which key is set and when. ⚠️ Not `secrets`: `/mcp` strikes every
|
package/package.json
CHANGED