@ai-ecoverse/slicc-agent 7.30.3 → 7.32.0
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/README.md +19 -7
- package/dist/agent.js +4 -0
- package/dist/agent.js.map +2 -2
- package/dist/approvals/policy.js +27 -5
- package/dist/approvals/policy.js.map +2 -2
- package/dist/approvals/published.js +18 -0
- package/dist/approvals/published.js.map +7 -0
- package/dist/approvals/record.js +4 -1
- package/dist/approvals/record.js.map +2 -2
- package/dist/approvals/run-licks.js +137 -0
- package/dist/approvals/run-licks.js.map +7 -0
- package/dist/approvals/run-procs.js +127 -0
- package/dist/approvals/run-procs.js.map +7 -0
- package/dist/approvals/run.js +468 -0
- package/dist/approvals/run.js.map +7 -0
- package/dist/approvals/runnable.js +125 -0
- package/dist/approvals/runnable.js.map +7 -0
- package/dist/approvals/sudo.js +29 -1
- package/dist/approvals/sudo.js.map +2 -2
- package/dist/client.js +1 -0
- package/dist/client.js.map +2 -2
- package/dist/control.js +7 -1
- package/dist/control.js.map +2 -2
- package/dist/freezer/index.js +4 -1
- package/dist/freezer/index.js.map +2 -2
- package/dist/guests/attribution.js +4 -0
- package/dist/guests/attribution.js.map +2 -2
- package/dist/guests/guard.js +28 -3
- package/dist/guests/guard.js.map +2 -2
- package/dist/guests/view.js +20 -4
- package/dist/guests/view.js.map +2 -2
- package/dist/host.js +69 -16
- package/dist/host.js.map +2 -2
- package/dist/images/markers.js +2 -7
- package/dist/images/markers.js.map +2 -2
- package/dist/index.js +14 -0
- package/dist/index.js.map +2 -2
- package/dist/intent/index.js +75 -0
- package/dist/intent/index.js.map +7 -0
- package/dist/intent/said.js +26 -0
- package/dist/intent/said.js.map +7 -0
- package/dist/kernel/with-exec.js +13 -0
- package/dist/kernel/with-exec.js.map +7 -0
- package/dist/licks/extension.js +1 -0
- package/dist/licks/extension.js.map +2 -2
- package/dist/licks/lick.js +1 -0
- package/dist/licks/lick.js.map +2 -2
- package/dist/main.js +15 -6
- package/dist/main.js.map +2 -2
- package/dist/services.js +7 -2
- package/dist/services.js.map +2 -2
- package/dist/settings.js +1 -0
- package/dist/settings.js.map +2 -2
- package/dist/spectrum/agent-port.js +13 -2
- package/dist/spectrum/agent-port.js.map +2 -2
- package/dist/spectrum/approvals-port.js +69 -0
- package/dist/spectrum/approvals-port.js.map +2 -2
- package/dist/spectrum/messages.js +35 -16
- package/dist/spectrum/messages.js.map +2 -2
- package/dist/spectrum/monitor-port.js +2 -1
- package/dist/spectrum/monitor-port.js.map +2 -2
- package/dist/spectrum/tool-title.js +11 -8
- package/dist/spectrum/tool-title.js.map +2 -2
- package/dist/titles/cluster.js +15 -4
- package/dist/titles/cluster.js.map +2 -2
- package/dist/titles/generate.js +6 -2
- package/dist/titles/generate.js.map +2 -2
- package/dist/titles/labels.js +2 -7
- package/dist/titles/labels.js.map +2 -2
- package/dist/titles/shown.js +6 -0
- package/dist/titles/shown.js.map +2 -2
- package/dist/types/agent.d.ts +2 -0
- package/dist/types/approvals/policy.d.ts +10 -1
- package/dist/types/approvals/published.d.ts +3 -0
- package/dist/types/approvals/record.d.ts +44 -1
- package/dist/types/approvals/run-licks.d.ts +18 -0
- package/dist/types/approvals/run-procs.d.ts +40 -0
- package/dist/types/approvals/run.d.ts +60 -0
- package/dist/types/approvals/runnable.d.ts +55 -0
- package/dist/types/approvals/sudo.d.ts +3 -1
- package/dist/types/client.d.ts +2 -0
- package/dist/types/guests/attribution.d.ts +5 -0
- package/dist/types/guests/guard.d.ts +1 -1
- package/dist/types/host.d.ts +10 -0
- package/dist/types/index.d.ts +4 -1
- package/dist/types/intent/index.d.ts +7 -0
- package/dist/types/intent/said.d.ts +4 -0
- package/dist/types/kernel/client.d.ts +35 -0
- package/dist/types/kernel/with-exec.d.ts +2 -0
- package/dist/types/licks/lick.d.ts +1 -1
- package/dist/types/licks/triage.d.ts +1 -1
- package/dist/types/main.d.ts +2 -1
- package/dist/types/services.d.ts +8 -2
- package/dist/types/settings.d.ts +1 -0
- package/dist/types/spectrum/approvals-port.d.ts +10 -2
- package/dist/types/spectrum/messages.d.ts +3 -2
- package/dist/types/spectrum/tool-title.d.ts +1 -1
- package/dist/types/titles/cluster.d.ts +1 -0
- package/dist/types/titles/generate.d.ts +3 -2
- package/dist/types/titles/labels.d.ts +1 -1
- package/dist/types/titles/shown.d.ts +1 -0
- package/package.json +3 -3
|
@@ -40,6 +40,7 @@ export interface KernelProcess {
|
|
|
40
40
|
}
|
|
41
41
|
export interface SpawnOptions {
|
|
42
42
|
cwd?: string;
|
|
43
|
+
user?: string | number;
|
|
43
44
|
env?: Record<string, string>;
|
|
44
45
|
pgid?: number;
|
|
45
46
|
tag?: string;
|
|
@@ -47,8 +48,42 @@ export interface SpawnOptions {
|
|
|
47
48
|
onStdout?(bytes: Uint8Array): void;
|
|
48
49
|
onStderr?(bytes: Uint8Array): void;
|
|
49
50
|
}
|
|
51
|
+
export interface TraceExit {
|
|
52
|
+
type: 'exit';
|
|
53
|
+
pid: number;
|
|
54
|
+
status: number;
|
|
55
|
+
signal?: string;
|
|
56
|
+
at?: number;
|
|
57
|
+
}
|
|
58
|
+
export type TraceEvent = TraceExit | {
|
|
59
|
+
type: 'exec' | 'fork';
|
|
60
|
+
pid: number;
|
|
61
|
+
};
|
|
62
|
+
export interface SudoRunOptions {
|
|
63
|
+
stdout?: string;
|
|
64
|
+
stderr?: string;
|
|
65
|
+
tag?: string | string[];
|
|
66
|
+
}
|
|
67
|
+
export interface SudoRunning {
|
|
68
|
+
pid: number;
|
|
69
|
+
pgid: number;
|
|
70
|
+
ended: Promise<{
|
|
71
|
+
status: number;
|
|
72
|
+
signal?: string;
|
|
73
|
+
}>;
|
|
74
|
+
}
|
|
50
75
|
export interface KernelClient {
|
|
51
76
|
fs: KernelFs;
|
|
77
|
+
protocol?: readonly number[];
|
|
78
|
+
sudoRun?(request: object, options: SudoRunOptions): Promise<SudoRunning>;
|
|
79
|
+
trace?(tag: string, onEvents: (batch: {
|
|
80
|
+
events: TraceEvent[];
|
|
81
|
+
dropped: number;
|
|
82
|
+
}) => void | Promise<unknown>, options?: {
|
|
83
|
+
limit?: number;
|
|
84
|
+
}): Promise<{
|
|
85
|
+
close(): void;
|
|
86
|
+
}>;
|
|
52
87
|
spawn(argv: readonly string[], options: SpawnOptions): Promise<KernelProcess>;
|
|
53
88
|
kill?(pid: number, signal?: string): Promise<void>;
|
|
54
89
|
ps?(): Promise<readonly {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LICK_CHANNELS: readonly ['webhook', 'cron', 'sprinkle', 'fswatch', 'session-reload', 'navigate', 'discovery', 'upgrade', 'workflow', 'bash', 'jshd', 'preview', 'cherry', 'scoop-notify', 'scoop-idle', 'scoop-wait', 'sudo-request', 'cone-message'];
|
|
1
|
+
export declare const LICK_CHANNELS: readonly ['webhook', 'cron', 'sprinkle', 'fswatch', 'session-reload', 'navigate', 'discovery', 'upgrade', 'workflow', 'bash', 'jshd', 'preview', 'cherry', 'scoop-notify', 'scoop-idle', 'scoop-wait', 'sudo-request', 'sudo-run', 'cone-message'];
|
|
2
2
|
export type LickChannel = (typeof LICK_CHANNELS)[number];
|
|
3
3
|
export type LickAction = 'confirm' | 'dismiss';
|
|
4
4
|
export type LickSeverity = 'warn' | 'error';
|
|
@@ -27,7 +27,7 @@ export declare function skipEntry(event: LickEvent, verdict: Verdict, now: numbe
|
|
|
27
27
|
probabilities: Record<string, number>;
|
|
28
28
|
model: string;
|
|
29
29
|
cost: number | null;
|
|
30
|
-
channel: "bash" | "cherry" | "cone-message" | "cron" | "discovery" | "fswatch" | "jshd" | "navigate" | "preview" | "scoop-idle" | "scoop-notify" | "scoop-wait" | "session-reload" | "sprinkle" | "sudo-request" | "upgrade" | "webhook" | "workflow";
|
|
30
|
+
channel: "bash" | "cherry" | "cone-message" | "cron" | "discovery" | "fswatch" | "jshd" | "navigate" | "preview" | "scoop-idle" | "scoop-notify" | "scoop-wait" | "session-reload" | "sprinkle" | "sudo-request" | "sudo-run" | "upgrade" | "webhook" | "workflow";
|
|
31
31
|
source: string;
|
|
32
32
|
title: string;
|
|
33
33
|
text: string;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Provider } from '@earendil-works/pi-ai';
|
|
|
2
2
|
import type { Models } from '@earendil-works/pi-ai/models';
|
|
3
3
|
import { type ModelRef, type Storage, type ToolRegistration } from '@earendil-works/pi-durable';
|
|
4
4
|
import { codemodeTool } from './codemode/index.ts';
|
|
5
|
-
import { type AgentHost } from './host.ts';
|
|
5
|
+
import { type AgentHost, type RunTimes } from './host.ts';
|
|
6
6
|
import type { KernelClient } from './kernel/client.ts';
|
|
7
7
|
import { type UserClients } from './kernel/users.ts';
|
|
8
8
|
import { type Transport } from './net.ts';
|
|
@@ -36,6 +36,7 @@ export interface AgentWorkerOptions {
|
|
|
36
36
|
mcpRedirect?: string;
|
|
37
37
|
approvalMs?: number;
|
|
38
38
|
stagedMs?: number;
|
|
39
|
+
runTimes?: RunTimes;
|
|
39
40
|
}
|
|
40
41
|
export declare function usersOf(admin: MessagePort | undefined, wanted: boolean | undefined, attach: KernelAttach): UserClients | undefined;
|
|
41
42
|
export declare const STORE_DIR = "/.slicc";
|
package/dist/types/services.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import type { Context, JsonValue, RemoteContract, ReplicatedState } from '@earen
|
|
|
2
2
|
import type { BlockedReason, ConversationView } from '@earendil-works/pi-durable';
|
|
3
3
|
import type { Approval, ApprovalDecided, ApprovalDecision } from './approvals/index.ts';
|
|
4
4
|
import type { ApprovalPolicy, ApprovalPolicyChange, ApprovalPolicySet } from './approvals/policy.ts';
|
|
5
|
+
import type { RunAnswer } from './approvals/run.ts';
|
|
6
|
+
import type { Runnable } from './approvals/runnable.ts';
|
|
5
7
|
import type { SendAttachment, ShownAttachment } from './attachments.ts';
|
|
6
8
|
import type { ChangesView } from './changes/git.ts';
|
|
7
9
|
import type { FrozenCone } from './freezer/index.ts';
|
|
@@ -108,6 +110,8 @@ export interface AgentControl {
|
|
|
108
110
|
}>;
|
|
109
111
|
approvalPolicySet(change: ApprovalPolicyChange, context: Context): Promise<ApprovalPolicySet>;
|
|
110
112
|
decide(id: string, decision: ApprovalDecision, reason: string | null, context: Context): Promise<ApprovalDecided>;
|
|
113
|
+
approvalRun(id: string, context: Context): Promise<RunAnswer>;
|
|
114
|
+
approvalRunStop(id: string, context: Context): Promise<RunAnswer>;
|
|
111
115
|
}
|
|
112
116
|
export interface ImportRequest {
|
|
113
117
|
upload: string | null;
|
|
@@ -279,7 +283,7 @@ export interface AgentSettingsChange {
|
|
|
279
283
|
thinkingLevel: 'off' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
280
284
|
agentId?: string | null;
|
|
281
285
|
}
|
|
282
|
-
export declare const CONTROL_METHODS: ("abort" | "agentCommands" | "approvalPolicySet" | "changeAccept" | "changeRevert" | "changesOpen" | "compact" | "compactAgent" | "configure" | "createCone" | "createScoop" | "decide" | "discard" | "drop" | "entries" | "freeze" | "guestAlwaysForget" | "guestOpen" | "guestRevoke" | "image" | "importCancel" | "importProfile" | "memoryRemove" | "memorySave" | "monitorClose" | "monitorOpen" | "newChat" | "reset" | "resolveAgentLick" | "resolveLick" | "rewind" | "rewindAgent" | "selectCone" | "send" | "sprinkleCall" | "sprinkleSend" | "stepLabel" | "stopAgent" | "thaw" | "toolLabel" | "unqueue" | "wait" | "webhook" | "withdraw")[];
|
|
286
|
+
export declare const CONTROL_METHODS: ("abort" | "agentCommands" | "approvalPolicySet" | "approvalRun" | "approvalRunStop" | "changeAccept" | "changeRevert" | "changesOpen" | "compact" | "compactAgent" | "configure" | "createCone" | "createScoop" | "decide" | "discard" | "drop" | "entries" | "freeze" | "guestAlwaysForget" | "guestOpen" | "guestRevoke" | "image" | "importCancel" | "importProfile" | "memoryRemove" | "memorySave" | "monitorClose" | "monitorOpen" | "newChat" | "reset" | "resolveAgentLick" | "resolveLick" | "rewind" | "rewindAgent" | "selectCone" | "send" | "sprinkleCall" | "sprinkleSend" | "stepLabel" | "stopAgent" | "thaw" | "toolLabel" | "unqueue" | "wait" | "webhook" | "withdraw")[];
|
|
283
287
|
export declare const OWNER_DEVICE_METHODS: readonly (keyof AgentControl & string)[];
|
|
284
288
|
export declare const CONTROL_READS: readonly (keyof AgentControl & string)[];
|
|
285
289
|
export declare const AgentControl: RemoteContract;
|
|
@@ -303,6 +307,7 @@ export interface AgentTranscript {
|
|
|
303
307
|
readonly guests: ReplicatedState<GuestSeat[]>;
|
|
304
308
|
readonly approvals: ReplicatedState<Approval[]>;
|
|
305
309
|
readonly approvalPolicy: ReplicatedState<ApprovalPolicy>;
|
|
310
|
+
readonly approvalRunnable: ReplicatedState<Record<string, Runnable>>;
|
|
306
311
|
}
|
|
307
312
|
export interface PrivateRevision {
|
|
308
313
|
revision: number;
|
|
@@ -314,7 +319,7 @@ export interface Command {
|
|
|
314
319
|
source?: SkillSource;
|
|
315
320
|
package?: SkillPackage;
|
|
316
321
|
}
|
|
317
|
-
export declare const TRANSCRIPT_STATES: ("agents" | "approvalPolicy" | "approvals" | "changes" | "commands" | "deliveries" | "frozen" | "guests" | "importing" | "labels" | "memories" | "memoryScopes" | "monitor" | "privateRevision" | "sprinkles" | "state" | "vault" | "views")[];
|
|
322
|
+
export declare const TRANSCRIPT_STATES: ("agents" | "approvalPolicy" | "approvalRunnable" | "approvals" | "changes" | "commands" | "deliveries" | "frozen" | "guests" | "importing" | "labels" | "memories" | "memoryScopes" | "monitor" | "privateRevision" | "sprinkles" | "state" | "vault" | "views")[];
|
|
318
323
|
export declare const AgentTranscript: RemoteContract;
|
|
319
324
|
export declare const REMOTE_METHODS: ("abort" | "close" | "history" | "next" | "prompt" | "watch")[];
|
|
320
325
|
export declare const REMOTE_READS: readonly (keyof AgentRemote & string)[];
|
|
@@ -441,6 +446,7 @@ export interface SettingsState {
|
|
|
441
446
|
label: string;
|
|
442
447
|
}[];
|
|
443
448
|
labels?: Record<string, string>;
|
|
449
|
+
toolIntents?: boolean;
|
|
444
450
|
}
|
|
445
451
|
export interface AgentSettings {
|
|
446
452
|
readonly state: ReplicatedState<SettingsState>;
|
package/dist/types/settings.d.ts
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import type { Approval, ApprovalDecision, ApprovalsEvents, ApprovalsPort } from '@ai-ecoverse/slicc-spectrum/ui';
|
|
2
|
-
import type { Approval as Item } from '../approvals/record.ts';
|
|
1
|
+
import type { Approval, ApprovalDecision, ApprovalRecord, ApprovalRun, ApprovalsEvents, ApprovalsPort } from '@ai-ecoverse/slicc-spectrum/ui';
|
|
2
|
+
import type { Approval as Item, SudoRun } from '../approvals/record.ts';
|
|
3
|
+
import type { Runnable } from '../approvals/runnable.ts';
|
|
3
4
|
import type { AgentConnection } from '../client.ts';
|
|
4
5
|
import { Emitter } from './emitter.ts';
|
|
5
6
|
export declare const ARGS_LENGTH = 65536;
|
|
6
7
|
export declare function shown(item: Item, agentName: string | undefined): Approval;
|
|
7
8
|
export type HostApprovals = ApprovalsPort;
|
|
9
|
+
export declare function runShown(run: SudoRun): ApprovalRun & {
|
|
10
|
+
survivors?: number[];
|
|
11
|
+
};
|
|
12
|
+
export declare function recordOf(item: Item, agentName: string | undefined, runnable: Runnable | undefined): ApprovalRecord;
|
|
8
13
|
export declare const NOT_HERE = "This request can't be answered in this tab.";
|
|
9
14
|
export declare class ApprovalsAdapter extends Emitter<ApprovalsEvents> implements ApprovalsPort {
|
|
10
15
|
#private;
|
|
11
16
|
readonly decide?: (id: string, decision: ApprovalDecision, reason?: string) => Promise<void>;
|
|
17
|
+
readonly history?: () => readonly ApprovalRecord[];
|
|
18
|
+
readonly run?: (id: string) => Promise<void>;
|
|
19
|
+
readonly stopRun?: (id: string) => Promise<void>;
|
|
12
20
|
constructor(connection: AgentConnection, host?: HostApprovals);
|
|
13
21
|
list(): readonly Approval[];
|
|
14
22
|
}
|
|
@@ -38,16 +38,17 @@ interface ModelMessage {
|
|
|
38
38
|
}
|
|
39
39
|
export declare function textOf(content: ModelMessage['content']): string;
|
|
40
40
|
export declare function fromPatch(patch: string): ToolCall['diff'];
|
|
41
|
+
type Trust = (callId: string) => boolean;
|
|
41
42
|
export declare const CONNECT_IT = "Connect it in Settings \u203A Accounts.";
|
|
42
43
|
export declare const LOG_IN_AGAIN = "Log in again to continue.";
|
|
43
44
|
export declare function providerName(provider: string | undefined, fallback?: string): string;
|
|
44
45
|
export declare function errorPart(error: string, provider?: string): MessagePart;
|
|
45
46
|
export declare function errorAction(message: string): ErrorAction;
|
|
46
|
-
export declare function assistant(id: string, message: ModelMessage, status?: AssistantStatus): AssistantMessage;
|
|
47
|
+
export declare function assistant(id: string, message: ModelMessage, status?: AssistantStatus, trust?: Trust): AssistantMessage;
|
|
47
48
|
export declare function origins(entries: readonly EntryRecord[]): Map<number, From>;
|
|
48
49
|
export declare function shownChannel(channel: Lick['channel']): LickMessage['channel'];
|
|
49
50
|
export declare function reviewed(entries: readonly EntryRecord[]): Map<string, GuestOutcome>;
|
|
50
|
-
export declare function toMessages(view: ConversationView | undefined, deliveries?: Readonly<Record<string, Delivered
|
|
51
|
+
export declare function toMessages(view: ConversationView | undefined, deliveries?: Readonly<Record<string, Delivered>>, intents?: boolean): Message[];
|
|
51
52
|
export declare function isBusy(view: ConversationView | undefined): boolean;
|
|
52
53
|
export declare function queued(view: ConversationView | undefined, at?: (id: string) => number): UserMessage[];
|
|
53
54
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
type Json = Record<string, unknown>;
|
|
2
2
|
export declare function commandTitle(command: string): string;
|
|
3
|
-
export declare function toolTitle(name: string, args: Json | undefined): string;
|
|
3
|
+
export declare function toolTitle(name: string, args: Json | undefined, trusted?: boolean): string;
|
|
4
4
|
export {};
|
|
@@ -4,11 +4,12 @@ import type { Models } from '@earendil-works/pi-ai/models';
|
|
|
4
4
|
import type { EntryRecord } from '@earendil-works/pi-durable';
|
|
5
5
|
import type { ExecutionEnv } from '@earendil-works/pi-durable/env';
|
|
6
6
|
export declare const TITLE_PROMPT = "Give this chat a title of three to six words that says what it is about, in the language the user writes in. Answer with the title only, without quotes.";
|
|
7
|
-
export declare const LABEL_PROMPT = "Label this group of tool runs in three to eight words,
|
|
8
|
-
export declare const STEP_PROMPT = "Label this tool run in three to eight words,
|
|
7
|
+
export declare const LABEL_PROMPT = "Label this group of tool runs in three to eight words, starting with a present participle that says what they do, such as \"Checking the failing build logs\". Answer with the label only, without quotes.";
|
|
8
|
+
export declare const STEP_PROMPT = "Label this tool run in three to eight words, starting with a present participle that says what it does, such as \"Installing the skill into a staging folder\". Answer with the label only, without quotes.";
|
|
9
9
|
export declare const TRANSCRIPT_LENGTH = 4000;
|
|
10
10
|
export declare function titlesOn(text: string | undefined): boolean;
|
|
11
11
|
export declare function labelsOn(text: string | undefined): boolean;
|
|
12
|
+
export declare function intentsOn(text: string | undefined): boolean;
|
|
12
13
|
export declare function settingsText(env: Pick<ExecutionEnv, 'readTextFile'>, home: string, dir?: string): (context: Context) => Promise<string | undefined>;
|
|
13
14
|
export declare function transcriptOf(entries: readonly EntryRecord[]): string;
|
|
14
15
|
export declare function scrubbed(raw: string, limit?: number): Promise<string>;
|
|
@@ -22,7 +22,6 @@ export declare function visibleLabels(labels: ReplicatedState<Record<string, str
|
|
|
22
22
|
export declare function watchLabel(labels: ReplicatedState<Record<string, string>>, waitMs?: number): (_agentId: string, callIds: readonly string[]) => Promise<string | null>;
|
|
23
23
|
export declare function stepId(callId: unknown): callId is string;
|
|
24
24
|
export declare function watchStep(labels: ReplicatedState<Record<string, string>>, waitMs?: number): (agentId: string, callId: string) => Promise<string | null>;
|
|
25
|
-
export declare function cleanLabel(text: string): string;
|
|
26
25
|
export declare function spend(tx: Tx, conversation: ConversationId, answer: Pick<AssistantMessage, 'provider' | 'model' | 'usage'>): Promise<void>;
|
|
27
26
|
export interface LabelsAttach {
|
|
28
27
|
harness: Pick<Harness, 'commit' | 'snapshot'>;
|
|
@@ -35,6 +34,7 @@ export interface LabelsAttach {
|
|
|
35
34
|
stepWaitMs?: number;
|
|
36
35
|
pollMs?: number;
|
|
37
36
|
settleMs?: number;
|
|
37
|
+
intents?: boolean;
|
|
38
38
|
}
|
|
39
39
|
export interface LabelsRuntime {
|
|
40
40
|
labels: ReplicatedState<Record<string, string>>;
|
|
@@ -3,3 +3,4 @@ export declare const STEP_KEY = "step:";
|
|
|
3
3
|
export declare function stepKey(callId: string): string;
|
|
4
4
|
export declare function callIdsOfKey(key: string): string[];
|
|
5
5
|
export declare function shownLabel(labels: Readonly<Record<string, string>> | undefined, callIds: readonly string[]): string | null | undefined;
|
|
6
|
+
export declare function cleanLabel(text: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-agent",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.32.0",
|
|
4
4
|
"description": "SLICC's agent core on pi durable: an agent worker, session storage, remoting and pi extensions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@ai-ecoverse/slicc-kernel": "1.181.0",
|
|
77
77
|
"@ai-ecoverse/slicc-scrub": "1.1.0",
|
|
78
78
|
"@ai-ecoverse/slicc-shared-web": "2.14.2",
|
|
79
|
-
"@ai-ecoverse/slicc-spectrum": "2.
|
|
79
|
+
"@ai-ecoverse/slicc-spectrum": "2.14.0",
|
|
80
80
|
"@ai-ecoverse/wasi-fnox": "1.47.0-1",
|
|
81
81
|
"@ai-ecoverse/wasm-bash": "5.3.0-23",
|
|
82
82
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-15",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
114
|
"@ai-ecoverse/slicc-kernel": ">=1.172.2 <2",
|
|
115
|
-
"@ai-ecoverse/slicc-spectrum": "^2.
|
|
115
|
+
"@ai-ecoverse/slicc-spectrum": "^2.14.0"
|
|
116
116
|
},
|
|
117
117
|
"peerDependenciesMeta": {
|
|
118
118
|
"@ai-ecoverse/slicc-spectrum": {
|