@belonguniverseai/react-sdk 0.6.22 → 0.6.24
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/api/account-connectors.d.ts +2 -2
- package/dist/api/api-keys.d.ts +22 -0
- package/dist/api/client-identity.d.ts +12 -0
- package/dist/api/client.d.ts +1983 -49
- package/dist/api/mutations.d.ts +9 -1
- package/dist/api/query-keys.d.ts +9 -0
- package/dist/api/session-end.d.ts +2 -0
- package/dist/api/skill-library.d.ts +81 -0
- package/dist/api/skills.d.ts +1 -1
- package/dist/api/task-schedule-sharing.d.ts +166 -0
- package/dist/api/task-schedules.d.ts +23 -1
- package/dist/app/BelongDock.d.ts +0 -28
- package/dist/app/dock-demo-features.d.ts +13 -0
- package/dist/app/dock-demo-transport.d.ts +37 -0
- package/dist/app/dock-story-data.d.ts +116 -0
- package/dist/component/THIRD_PARTY_NOTICES.txt +24 -0
- package/dist/component/{abnfDiagram-N423BO3Z-D4mVRMw9.js → abnfDiagram-N423BO3Z-BZFjrvGh.js} +4 -4
- package/dist/component/{arc-GBp6w3tF.js → arc-R371iLQK.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-Cxm-USYQ.js → architectureDiagram-T3A2C74G-CcH5CU8G.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-BAiLpxJf.js → blockDiagram-VBNYF7ZC-CO21oaME.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-Sy6sLJOj.js → c4Diagram-5PPSVZJV-DFdczxGA.js} +3 -3
- package/dist/component/{channel-DPbaAkCI.js → channel-CTk2u27P.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-8r8YJzCc.js → chunk-2GRJ4B5K-DLJBmRlE.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-RZqny7-R.js → chunk-2Q5K7J3B-Dn9FHNcv.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-QFCY9Dtl.js → chunk-5RXB4S5H-C0lJsrjg.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-BG8q5ODa.js → chunk-5VM5RSS4-DphP3gZj.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-D6ec2nI7.js → chunk-6Q2QTUOP-oYZ6WlsT.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-D7yROYf0.js → chunk-GF5L2VYU-CX1jApqq.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-CmGlHqne.js → chunk-JWPE2WC7-BsHiqT8c.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-W03s7swc.js → chunk-KBJHAD2P-JEN3NVHE.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-D0oyMUJ7.js → chunk-RYQCIY6F-BJlZTS0d.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-D4s0eyp4.js → chunk-XXDRQBXY-CftGkCaP.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-DwNAC2XG.js → classDiagram-JCYQIIEL-BEAw2s9m.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-DwNAC2XG.js → classDiagram-v2-OCEON4UE-BEAw2s9m.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-DhGvXDdi.js → cose-bilkent-JH36ORCC-5g5ZQ1kH.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-BCUeX7pB.js → cynefinDiagram-MW4NZA55-C0wLlDn3.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-DWofHoga.js → dagre-VZM6K2ZE-V9qiC6Cs.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-DjCFF_Dr.js → diagram-7IWD3JNH-D-KPwOWp.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-CSovrpFW.js → diagram-B4RE2ZJO-CMiB6Lwu.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-Cgpae-sR.js → diagram-LBJQPF4R-ve7EbpGW.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-DikMPfLU.js → diagram-Q27KOJAE-DRINzJd4.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-sQU6rZbO.js → diagram-UB23O5K3-CL0SSPI6.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-B9t8-G8R.js → ebnfDiagram-BXEA7PRR-BgU6lPC0.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-DKg1HhSl.js → erDiagram-JOGREHBK-BDuqW50a.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-BO8jpT1D.js → flowDiagram-UKHOOZJN-KisN8EgK.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-BPXYyB9Q.js → ganttDiagram-PKOTCBZU-kZrnta4w.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-BjVLFBUS.js → gitGraphDiagram-DS77QQ5N-Dy1S71_C.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-BKot66c3.js → highlighted-body-OFNGDK62-ChNAP6R7.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-BkAC5Bwv.js → infoDiagram-6WML65LV-C3CmzQkI.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-oplkIs_t.js → ishikawaDiagram-WSZJBQD7-DBHVF-fV.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-CuliMCSv.js → journeyDiagram-NVQOT4AX-Cg3e2eDS.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-DdzOdEiL.js → kanban-definition-27J2QSJJ-tIaMkhvn.js} +3 -3
- package/dist/component/{linear-zZDwdGmK.js → linear-DQ23phHp.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-aX5umm-y.js → mermaid-GHXKKRXX-CssTT3y2.js} +115414 -109032
- package/dist/component/{mindmap-definition-FAOFIHXS-DD2HF9oE.js → mindmap-definition-FAOFIHXS-oSuksV41.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-DyiDl9bF.js → pegDiagram-VL7TDLO6-GLxZEQlj.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-DflxKS_B.js → pieDiagram-7S7Q4E2Y-4ghKg2jt.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-nwwayVOP.js → quadrantDiagram-CIZ2JOQS-DOnM2yX5.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-BTtD2eN9.js → railroadDiagram-AXF67PYL-DCf1AdeI.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-B37q1LKL.js → requirementDiagram-LRYGKXZP-BgUTRz25.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-zY0W9eje.js → sankeyDiagram-W5VNT64P-93-3TiEZ.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-CmQiqB8F.js → sequenceDiagram-SI44F4Z6-CjdXsQGo.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-dF3FvIT8.js → sizeCapture-X5ZJPWSS-BZcfJFgu.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-CX61F3L0.js → stateDiagram-OKZ733FA-DqZxP_LE.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-DnFZhhu3.js → stateDiagram-v2-UEYNNEHI-bW3Xpzm_.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-CX9XGBvw.js → swimlanes-SLNWSIFB-BCid9HHX.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-Bqkgx7qk.js → swimlanesDiagram-ULZ7WXOC-CUXpjQTA.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-BUX4OSm1.js → timeline-definition-Z64GVDOM-Cl9JeVlC.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-BpVOq4Rh.js → vennDiagram-T6HMQDX7-A8wa9sfS.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-BUDGa8Mv.js → wardleyDiagram-T6FBY63Y-CYjNVqXL.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-FIA_LnIu.js → xychartDiagram-ELKLHX3M-CWTWyqQ8.js} +3 -3
- package/dist/components/ai-elements/markdown-repair-samples.d.ts +27 -0
- package/dist/components/ai-elements/message.d.ts +2 -2
- package/dist/components/ai-elements/prompt-input.d.ts +3 -1
- package/dist/components/ai-elements/task.d.ts +2 -1
- package/dist/components/ai-elements/terminal-task.d.ts +2 -1
- package/dist/components/connectors/portal-theme.d.ts +2 -8
- package/dist/components/embed/AgentChatIcon.d.ts +1 -1
- package/dist/components/embed/AgentPhaseIcon.d.ts +16 -14
- package/dist/components/embed/ApiKeysSettings.d.ts +1 -0
- package/dist/components/embed/BetaBadge.d.ts +8 -10
- package/dist/components/embed/ChatTitleEditor.d.ts +17 -0
- package/dist/components/embed/ComposerContext.d.ts +9 -0
- package/dist/components/embed/EmbedAvatar.d.ts +17 -18
- package/dist/components/embed/EmbedComposer.d.ts +3 -1
- package/dist/components/embed/EmbedHeader.d.ts +20 -31
- package/dist/components/embed/EmbedRail.d.ts +12 -9
- package/dist/components/embed/EmbedSessions.d.ts +10 -12
- package/dist/components/embed/GoalComposeSheet.d.ts +2 -1
- package/dist/components/embed/LegalShortDisclaimer.d.ts +6 -8
- package/dist/components/embed/MentionInput.d.ts +9 -3
- package/dist/components/embed/MobileNavBar.d.ts +12 -10
- package/dist/components/embed/OnboardingOverlay.d.ts +3 -1
- package/dist/components/embed/OnboardingTour.d.ts +1 -10
- package/dist/components/embed/OnboardingWelcome.d.ts +1 -11
- package/dist/components/embed/PlanPanel.d.ts +3 -1
- package/dist/components/embed/PreviewPanel.d.ts +3 -1
- package/dist/components/embed/SessionSwitcher.d.ts +12 -0
- package/dist/components/embed/SubagentAvatar.d.ts +8 -0
- package/dist/components/embed/WorkspacePane.d.ts +3 -1
- package/dist/components/embed/context-occupancy.d.ts +15 -0
- package/dist/components/embed/navigation-layout.d.ts +7 -0
- package/dist/components/embed/rail-flags.d.ts +4 -11
- package/dist/components/embed/use-agent-identity.d.ts +1 -0
- package/dist/components/embed/use-prompt-invocations.d.ts +6 -1
- package/dist/components/prompts/PromptPreviewDialog.d.ts +10 -0
- package/dist/components/prompts/PromptsListSurface.d.ts +4 -4
- package/dist/components/scheduled/ConfirmDeleteScheduleDialog.d.ts +1 -0
- package/dist/components/scheduled/ScheduleDialog.d.ts +4 -0
- package/dist/components/scheduled/ScheduledDetailSurface.d.ts +1 -0
- package/dist/components/scheduled/ScheduledHeader.d.ts +3 -0
- package/dist/components/scheduled/ScheduledListSurface.d.ts +1 -1
- package/dist/components/scheduled/ShareScheduleDialog.d.ts +10 -0
- package/dist/components/scheduled/SharedSchedulesSurface.d.ts +1 -0
- package/dist/components/scheduled/schedule-dialog-model.d.ts +5 -2
- package/dist/components/skills/EditSkillDialog.d.ts +8 -0
- package/dist/components/skills/SkillDiscover.d.ts +1 -0
- package/dist/components/skills/SkillsListSurface.d.ts +8 -4
- package/dist/components/skills/skill-refusal-copy.d.ts +8 -0
- package/dist/components/ui/card.d.ts +1 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +2 -2
- package/dist/components/ui/hover-card.d.ts +1 -1
- package/dist/components/ui/popover.d.ts +1 -1
- package/dist/components/ui/select.d.ts +1 -1
- package/dist/components/ui/shadow-dialog-focus.d.ts +5 -0
- package/dist/components/ui/tooltip.d.ts +1 -1
- package/dist/embed/brand-marks.d.ts +3 -3
- package/dist/embed/conversation-scroll.d.ts +18 -0
- package/dist/embed/copy.d.ts +8 -3
- package/dist/embed/legal-disclaimer.d.ts +5 -1
- package/dist/embed/library-composer.d.ts +24 -0
- package/dist/embed/library-navigation.d.ts +6 -0
- package/dist/embed/portal-container.d.ts +17 -16
- package/dist/embed/presets.d.ts +2 -2
- package/dist/embed/schedule-invitation.d.ts +5 -0
- package/dist/embed/use-session-draft.d.ts +11 -0
- package/dist/embed/voice-call-lines.d.ts +14 -5
- package/dist/i18n/messages/en.d.ts +248 -9
- package/dist/i18n/messages/surfaces/files.d.ts +4 -0
- package/dist/i18n/messages/surfaces/header.d.ts +4 -0
- package/dist/i18n/messages/surfaces/navigation.d.ts +149 -0
- package/dist/i18n/messages/surfaces/prompts.d.ts +56 -5
- package/dist/i18n/messages/surfaces/scheduled.d.ts +233 -1
- package/dist/i18n/messages/surfaces/sessions.d.ts +16 -0
- package/dist/i18n/messages/surfaces/settings.d.ts +229 -0
- package/dist/i18n/messages/surfaces/skills.d.ts +157 -6
- package/dist/i18n/messages/surfaces/stream.d.ts +109 -0
- package/dist/i18n/messages/surfaces/usage.d.ts +40 -16
- package/dist/i18n/messages/surfaces/workspace.d.ts +7 -5
- package/dist/routes/chat/draft-updaters.d.ts +16 -0
- package/dist/routes/chat/use-session-goal.d.ts +1 -0
- package/dist/routes/chat.d.ts +2 -1
- package/dist/routes/library.d.ts +4 -0
- package/dist/stream/agent-deliverable-path.d.ts +1 -0
- package/dist/stream/ai-sdk-part-renderers.d.ts +4 -8
- package/dist/stream/belong-chat-transport.d.ts +16 -1
- package/dist/stream/belong-data-parts.d.ts +9 -3
- package/dist/stream/subagent-lanes.d.ts +3 -2
- package/dist/types/public.d.ts +11 -0
- package/package.json +1 -1
- package/dist/components/ai-elements/reasoning.d.ts +0 -26
package/dist/api/mutations.d.ts
CHANGED
|
@@ -2,7 +2,15 @@ import { ApiClient } from './client.ts';
|
|
|
2
2
|
export declare const deleteSessionRequest: (api: ApiClient, sessionId: string) => Promise<void>;
|
|
3
3
|
export declare const useDeleteSession: () => import('@tanstack/react-query').UseMutationResult<void, Error, string, unknown>;
|
|
4
4
|
export declare const renameSessionRequest: (api: ApiClient, sessionId: string, title: string) => Promise<void>;
|
|
5
|
+
/**
|
|
6
|
+
* A cached sessions list with one row renamed — the optimistic half of a
|
|
7
|
+
* rename. `unknown` in and out because it runs as a `setQueriesData` updater;
|
|
8
|
+
* anything that is not a sessions list comes back unchanged.
|
|
9
|
+
*/
|
|
10
|
+
export declare const renameInSessionList: (data: unknown, sessionId: string, title: string) => unknown;
|
|
5
11
|
export declare const useRenameSession: () => import('@tanstack/react-query').UseMutationResult<void, Error, {
|
|
6
12
|
readonly sessionId: string;
|
|
7
13
|
readonly title: string;
|
|
8
|
-
},
|
|
14
|
+
}, {
|
|
15
|
+
snapshot: [readonly unknown[], unknown][];
|
|
16
|
+
}>;
|
package/dist/api/query-keys.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ export declare const queryKeys: {
|
|
|
15
15
|
* `workspaceKey` is the scoped id, or "" when unconfigured.
|
|
16
16
|
*/
|
|
17
17
|
sessionList: (workspaceKey: string, limit: number) => readonly ["belong", "sessions", "list", string, number];
|
|
18
|
+
/**
|
|
19
|
+
* Prefix of every `sessionList(...)` cache and of nothing else — for writes
|
|
20
|
+
* that must touch the LISTS only. `sessions` is too wide for that: it also
|
|
21
|
+
* prefixes the single-session and messages keys.
|
|
22
|
+
*/
|
|
23
|
+
sessionLists: readonly ["belong", "sessions", "list"];
|
|
18
24
|
/** Invalidation prefix for every skills-inventory read. */
|
|
19
25
|
skills: readonly ["belong", "skills"];
|
|
20
26
|
/**
|
|
@@ -29,6 +35,7 @@ export declare const queryKeys: {
|
|
|
29
35
|
agentGrant: (provider: string, scopeExternalId: string) => readonly ["belong", "agent-grant", string, string];
|
|
30
36
|
/** Invalidation prefix for every task-schedule read (list + detail + runs). */
|
|
31
37
|
taskSchedules: readonly ["belong", "task-schedules"];
|
|
38
|
+
apiKeys: (ownerCacheKey: string) => readonly ["belong", "api-keys", string];
|
|
32
39
|
taskScheduleList: (workspaceKey: string, filter: string, q: string) => readonly ["belong", "task-schedules", "list", string, string, string];
|
|
33
40
|
taskSchedule: (workspaceKey: string, taskScheduleId: string) => readonly ["belong", "task-schedules", "detail", string, string];
|
|
34
41
|
taskScheduleRuns: (workspaceKey: string, taskScheduleId: string) => readonly ["belong", "task-schedules", "detail", string, string, "runs"];
|
|
@@ -40,6 +47,8 @@ export declare const queryKeys: {
|
|
|
40
47
|
skillLibrary: readonly ["belong", "skill-library"];
|
|
41
48
|
/** Workspace-scoped library list ("" unscoped, "__missing__" never fetched). */
|
|
42
49
|
skillLibraryList: (workspaceKey: string) => readonly ["belong", "skill-library", "list", string];
|
|
50
|
+
/** One skill's instructions + file list. By id, not by workspace: the route checks the owner. */
|
|
51
|
+
skillLibraryContent: (userSkillId: string) => readonly ["belong", "skill-library", "content", string];
|
|
43
52
|
/**
|
|
44
53
|
* UNSCOPED deployment probe: written by every list resolution, read by the
|
|
45
54
|
* rail. Whether the feature exists is a property of the CELL, not of a
|
|
@@ -72,6 +72,73 @@ export type DeleteSkillOutcome = {
|
|
|
72
72
|
} | {
|
|
73
73
|
readonly status: "error";
|
|
74
74
|
};
|
|
75
|
+
/** One skill's instructions, and the paths of its other (read-only) files. */
|
|
76
|
+
export type SkillContent = {
|
|
77
|
+
readonly userSkillId: string;
|
|
78
|
+
readonly name: string;
|
|
79
|
+
readonly description: string;
|
|
80
|
+
readonly skillMd: string;
|
|
81
|
+
readonly revision: number;
|
|
82
|
+
readonly enabled: boolean;
|
|
83
|
+
readonly hasScripts: boolean;
|
|
84
|
+
/** Relative to the skill folder, sorted; empty for an instruction-only skill. */
|
|
85
|
+
readonly files: readonly string[];
|
|
86
|
+
};
|
|
87
|
+
type SkillContentResult = {
|
|
88
|
+
readonly status: "ready";
|
|
89
|
+
readonly content: SkillContent;
|
|
90
|
+
} | {
|
|
91
|
+
readonly status: "not_found";
|
|
92
|
+
} | {
|
|
93
|
+
readonly status: "feature_absent";
|
|
94
|
+
};
|
|
95
|
+
type UpdateSkillContentInput = {
|
|
96
|
+
readonly userSkillId: string;
|
|
97
|
+
readonly skillMd: string;
|
|
98
|
+
/** The revision the edited text was read at (optimistic concurrency). */
|
|
99
|
+
readonly expectedRevision: number;
|
|
100
|
+
};
|
|
101
|
+
type SavedSkillContent = {
|
|
102
|
+
readonly userSkillId: string;
|
|
103
|
+
readonly name: string;
|
|
104
|
+
readonly revision: number;
|
|
105
|
+
};
|
|
106
|
+
export type UpdateSkillContentOutcome = ({
|
|
107
|
+
readonly status: "updated";
|
|
108
|
+
} & SavedSkillContent)
|
|
109
|
+
/** Same id and on/off state, new name (the `name:` line changed). */
|
|
110
|
+
| ({
|
|
111
|
+
readonly status: "renamed";
|
|
112
|
+
} & SavedSkillContent)
|
|
113
|
+
/** Nothing written; the current name and revision. */
|
|
114
|
+
| ({
|
|
115
|
+
readonly status: "unchanged";
|
|
116
|
+
} & SavedSkillContent) | {
|
|
117
|
+
readonly status: "revision_stale";
|
|
118
|
+
readonly revision: number;
|
|
119
|
+
} | {
|
|
120
|
+
readonly status: "name_taken";
|
|
121
|
+
readonly name: string;
|
|
122
|
+
readonly userSkillId: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly status: "name_reserved";
|
|
125
|
+
readonly name: string;
|
|
126
|
+
readonly reservedBy: SkillNameReservedBy;
|
|
127
|
+
} | {
|
|
128
|
+
readonly status: "content_reserved";
|
|
129
|
+
} | {
|
|
130
|
+
readonly status: "invalid_skill_archive";
|
|
131
|
+
readonly reason: string;
|
|
132
|
+
} | {
|
|
133
|
+
readonly status: "archive_too_large";
|
|
134
|
+
readonly maxArchiveBytes: number;
|
|
135
|
+
} | {
|
|
136
|
+
readonly status: "not_found";
|
|
137
|
+
} | {
|
|
138
|
+
readonly status: "feature_absent";
|
|
139
|
+
} | {
|
|
140
|
+
readonly status: "error";
|
|
141
|
+
};
|
|
75
142
|
export declare const listSkillLibraryRequest: (api: ApiClient, query: {
|
|
76
143
|
readonly workspaceExternalId?: string;
|
|
77
144
|
}, signal?: AbortSignal) => Promise<SkillLibraryListResult>;
|
|
@@ -97,4 +164,18 @@ export declare const useSetSkillEnabled: () => import('@tanstack/react-query').U
|
|
|
97
164
|
readonly enabled: boolean;
|
|
98
165
|
}, unknown>;
|
|
99
166
|
export declare const useDeleteSkill: () => import('@tanstack/react-query').UseMutationResult<DeleteSkillOutcome, Error, string, unknown>;
|
|
167
|
+
/**
|
|
168
|
+
* Fresh on every open (`refetchOnMount: "always"`), and forgotten once the dialog
|
|
169
|
+
* closes (`gcTime: 0`), so a reopen never paints the text from before a save.
|
|
170
|
+
* The dialog keeps its OWN copy of what the user is editing, so a refetch here
|
|
171
|
+
* (an agent write invalidating the library) never replaces a draft.
|
|
172
|
+
*/
|
|
173
|
+
export declare const useSkillContent: (userSkillId: string) => UseQueryResult<SkillContentResult>;
|
|
174
|
+
/**
|
|
175
|
+
* Edit a skill's instructions (a changed `name:` line renames it). ONE attempt,
|
|
176
|
+
* never retried: the server already applied a PUT whose response was lost, so a
|
|
177
|
+
* replay would come back `revision_stale` — the dialog's Reload handles that.
|
|
178
|
+
*/
|
|
179
|
+
export declare const useUpdateSkillContent: () => import('@tanstack/react-query').UseMutationResult<UpdateSkillContentOutcome, Error, UpdateSkillContentInput, unknown>;
|
|
100
180
|
export declare const skillLibraryDownloadUrl: (baseUrl: string, userSkillId: string) => string;
|
|
181
|
+
export {};
|
package/dist/api/skills.d.ts
CHANGED
|
@@ -31,5 +31,5 @@ export type SlashInventory = {
|
|
|
31
31
|
};
|
|
32
32
|
export declare const listSkillsRequest: (api: ApiClient, query?: {
|
|
33
33
|
readonly workspaceExternalId?: string;
|
|
34
|
-
}) => Promise<SlashInventory>;
|
|
34
|
+
}, signal?: AbortSignal) => Promise<SlashInventory>;
|
|
35
35
|
export declare const useSkills: () => import('@tanstack/react-query').UseQueryResult<NoInfer<SlashInventory>, Error>;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UpdateTaskScheduleSeriesInput } from './task-schedules.ts';
|
|
3
|
+
export declare const sharedScheduleSchema: z.ZodObject<{
|
|
4
|
+
definitionId: z.ZodUUID;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
explicitTitle: z.ZodNullable<z.ZodString>;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
role: z.ZodEnum<{
|
|
9
|
+
edit: "edit";
|
|
10
|
+
use: "use";
|
|
11
|
+
owner: "owner";
|
|
12
|
+
}>;
|
|
13
|
+
owner: z.ZodString;
|
|
14
|
+
ownerTenant: z.ZodString;
|
|
15
|
+
revision: z.ZodNumber;
|
|
16
|
+
timeExpression: z.ZodString;
|
|
17
|
+
timezone: z.ZodString;
|
|
18
|
+
recurrence: z.ZodPipe<z.ZodObject<{
|
|
19
|
+
kind: z.ZodEnum<{
|
|
20
|
+
none: "none";
|
|
21
|
+
manual: "manual";
|
|
22
|
+
daily: "daily";
|
|
23
|
+
weekdays: "weekdays";
|
|
24
|
+
weekly: "weekly";
|
|
25
|
+
interval: "interval";
|
|
26
|
+
}>;
|
|
27
|
+
intervalMinutes: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
29
|
+
readonly kind: "none";
|
|
30
|
+
} | {
|
|
31
|
+
readonly kind: "daily";
|
|
32
|
+
} | {
|
|
33
|
+
readonly kind: "weekdays";
|
|
34
|
+
} | {
|
|
35
|
+
readonly kind: "weekly";
|
|
36
|
+
} | {
|
|
37
|
+
readonly kind: "manual";
|
|
38
|
+
} | {
|
|
39
|
+
readonly kind: "interval";
|
|
40
|
+
readonly intervalMinutes: number;
|
|
41
|
+
}, {
|
|
42
|
+
kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
|
|
43
|
+
intervalMinutes?: number | undefined;
|
|
44
|
+
}>>;
|
|
45
|
+
anchorAt: z.ZodISODateTime;
|
|
46
|
+
templateName: z.ZodNullable<z.ZodString>;
|
|
47
|
+
updatedAt: z.ZodISODateTime;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export type SharedSchedule = z.infer<typeof sharedScheduleSchema>;
|
|
50
|
+
export declare const useSharedSchedules: () => import('@tanstack/react-query').UseInfiniteQueryResult<{
|
|
51
|
+
definitionId: string;
|
|
52
|
+
title: string;
|
|
53
|
+
explicitTitle: string | null;
|
|
54
|
+
message: string;
|
|
55
|
+
role: "edit" | "use" | "owner";
|
|
56
|
+
owner: string;
|
|
57
|
+
ownerTenant: string;
|
|
58
|
+
revision: number;
|
|
59
|
+
timeExpression: string;
|
|
60
|
+
timezone: string;
|
|
61
|
+
recurrence: {
|
|
62
|
+
readonly kind: "none";
|
|
63
|
+
} | {
|
|
64
|
+
readonly kind: "daily";
|
|
65
|
+
} | {
|
|
66
|
+
readonly kind: "weekdays";
|
|
67
|
+
} | {
|
|
68
|
+
readonly kind: "weekly";
|
|
69
|
+
} | {
|
|
70
|
+
readonly kind: "manual";
|
|
71
|
+
} | {
|
|
72
|
+
readonly kind: "interval";
|
|
73
|
+
readonly intervalMinutes: number;
|
|
74
|
+
};
|
|
75
|
+
anchorAt: string;
|
|
76
|
+
templateName: string | null;
|
|
77
|
+
updatedAt: string;
|
|
78
|
+
}[], Error>;
|
|
79
|
+
export declare const useSharingAccount: () => import('@tanstack/react-query').UseQueryResult<NoInfer<{
|
|
80
|
+
account: string;
|
|
81
|
+
tenant: string;
|
|
82
|
+
}>, Error>;
|
|
83
|
+
export declare const useSharedSchedule: (definitionId: string | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
|
|
84
|
+
definitionId: string;
|
|
85
|
+
title: string;
|
|
86
|
+
explicitTitle: string | null;
|
|
87
|
+
message: string;
|
|
88
|
+
role: "edit" | "use" | "owner";
|
|
89
|
+
owner: string;
|
|
90
|
+
ownerTenant: string;
|
|
91
|
+
revision: number;
|
|
92
|
+
timeExpression: string;
|
|
93
|
+
timezone: string;
|
|
94
|
+
recurrence: {
|
|
95
|
+
readonly kind: "none";
|
|
96
|
+
} | {
|
|
97
|
+
readonly kind: "daily";
|
|
98
|
+
} | {
|
|
99
|
+
readonly kind: "weekdays";
|
|
100
|
+
} | {
|
|
101
|
+
readonly kind: "weekly";
|
|
102
|
+
} | {
|
|
103
|
+
readonly kind: "manual";
|
|
104
|
+
} | {
|
|
105
|
+
readonly kind: "interval";
|
|
106
|
+
readonly intervalMinutes: number;
|
|
107
|
+
};
|
|
108
|
+
anchorAt: string;
|
|
109
|
+
templateName: string | null;
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
}>, Error>;
|
|
112
|
+
export declare const useScheduleAccess: (definitionId: string | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
|
|
113
|
+
people: {
|
|
114
|
+
tenantId: string;
|
|
115
|
+
userId: string;
|
|
116
|
+
role: "edit" | "use";
|
|
117
|
+
label: string;
|
|
118
|
+
tenant: string;
|
|
119
|
+
}[];
|
|
120
|
+
invitations: {
|
|
121
|
+
id: string;
|
|
122
|
+
role: "edit" | "use";
|
|
123
|
+
expiresAt: string;
|
|
124
|
+
token: string | null;
|
|
125
|
+
}[];
|
|
126
|
+
}>, Error>;
|
|
127
|
+
export declare const useShareSchedule: () => import('@tanstack/react-query').UseMutationResult<{
|
|
128
|
+
definitionId: string;
|
|
129
|
+
}, Error, string, unknown>;
|
|
130
|
+
export declare const useCreateScheduleInvitation: () => import('@tanstack/react-query').UseMutationResult<{
|
|
131
|
+
invitationId: string;
|
|
132
|
+
token: string;
|
|
133
|
+
expiresAt: string;
|
|
134
|
+
}, Error, {
|
|
135
|
+
readonly definitionId: string;
|
|
136
|
+
readonly role: "use" | "edit";
|
|
137
|
+
}, unknown>;
|
|
138
|
+
export declare const useAcceptScheduleInvitation: () => import('@tanstack/react-query').UseMutationResult<{
|
|
139
|
+
definitionId: string;
|
|
140
|
+
}, Error, string, unknown>;
|
|
141
|
+
export declare const useEnableSharedSchedule: () => import('@tanstack/react-query').UseMutationResult<{
|
|
142
|
+
taskScheduleId: string;
|
|
143
|
+
}, Error, string, unknown>;
|
|
144
|
+
export declare const useUpdateSharedSchedule: () => import('@tanstack/react-query').UseMutationResult<{
|
|
145
|
+
status: "updated";
|
|
146
|
+
revision: number;
|
|
147
|
+
}, Error, {
|
|
148
|
+
readonly definitionId: string;
|
|
149
|
+
readonly patch: Omit<UpdateTaskScheduleSeriesInput["patch"], "mode" | "expectedRevision"> & {
|
|
150
|
+
readonly expectedRevision: number;
|
|
151
|
+
};
|
|
152
|
+
}, unknown>;
|
|
153
|
+
export declare const useChangeScheduleAccess: () => import('@tanstack/react-query').UseMutationResult<{
|
|
154
|
+
status: string;
|
|
155
|
+
}, Error, {
|
|
156
|
+
readonly definitionId: string;
|
|
157
|
+
readonly tenantId: string;
|
|
158
|
+
readonly userId: string;
|
|
159
|
+
readonly role: "use" | "edit" | "remove";
|
|
160
|
+
}, unknown>;
|
|
161
|
+
export declare const useCancelScheduleInvitation: () => import('@tanstack/react-query').UseMutationResult<{
|
|
162
|
+
status: string;
|
|
163
|
+
}, Error, {
|
|
164
|
+
readonly definitionId: string;
|
|
165
|
+
readonly invitationId: string;
|
|
166
|
+
}, unknown>;
|
|
@@ -120,6 +120,7 @@ export declare const taskScheduleSeriesStatusSchema: z.ZodEnum<{
|
|
|
120
120
|
export type TaskScheduleSeriesStatus = z.infer<typeof taskScheduleSeriesStatusSchema>;
|
|
121
121
|
export type TaskScheduleFilter = "all" | "upcoming" | "completed";
|
|
122
122
|
declare const taskScheduleListItemSchema: z.ZodObject<{
|
|
123
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
123
124
|
taskScheduleId: z.ZodUUID;
|
|
124
125
|
title: z.ZodString;
|
|
125
126
|
status: z.ZodEnum<{
|
|
@@ -170,6 +171,7 @@ declare const taskScheduleListItemSchema: z.ZodObject<{
|
|
|
170
171
|
}, z.core.$strip>;
|
|
171
172
|
export type TaskScheduleListItem = z.infer<typeof taskScheduleListItemSchema>;
|
|
172
173
|
export declare const taskScheduleDetailSchema: z.ZodObject<{
|
|
174
|
+
shared: z.ZodOptional<z.ZodBoolean>;
|
|
173
175
|
taskScheduleId: z.ZodUUID;
|
|
174
176
|
title: z.ZodString;
|
|
175
177
|
status: z.ZodEnum<{
|
|
@@ -217,6 +219,17 @@ export declare const taskScheduleDetailSchema: z.ZodObject<{
|
|
|
217
219
|
}, z.core.$strip>>;
|
|
218
220
|
messagePreview: z.ZodString;
|
|
219
221
|
createdAt: z.ZodISODateTime;
|
|
222
|
+
sharing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
223
|
+
definitionId: z.ZodUUID;
|
|
224
|
+
role: z.ZodEnum<{
|
|
225
|
+
edit: "edit";
|
|
226
|
+
revoked: "revoked";
|
|
227
|
+
use: "use";
|
|
228
|
+
owner: "owner";
|
|
229
|
+
}>;
|
|
230
|
+
revision: z.ZodNumber;
|
|
231
|
+
workspaceCount: z.ZodNumber;
|
|
232
|
+
}, z.core.$strip>>>;
|
|
220
233
|
explicitTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
221
234
|
message: z.ZodString;
|
|
222
235
|
mode: z.ZodEnum<{
|
|
@@ -304,6 +317,7 @@ export declare const useTaskSchedules: (filter: TaskScheduleFilter, q: string) =
|
|
|
304
317
|
} | null;
|
|
305
318
|
messagePreview: string;
|
|
306
319
|
createdAt: string;
|
|
320
|
+
shared?: boolean | undefined;
|
|
307
321
|
}[], Error>;
|
|
308
322
|
export declare const useTaskSchedule: (taskScheduleId: string | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
|
|
309
323
|
taskScheduleId: string;
|
|
@@ -360,6 +374,13 @@ export declare const useTaskSchedule: (taskScheduleId: string | null) => import(
|
|
|
360
374
|
maxMessagesPerRun: number;
|
|
361
375
|
expiresAt: string;
|
|
362
376
|
} | null;
|
|
377
|
+
shared?: boolean | undefined;
|
|
378
|
+
sharing?: {
|
|
379
|
+
definitionId: string;
|
|
380
|
+
role: "edit" | "revoked" | "use" | "owner";
|
|
381
|
+
revision: number;
|
|
382
|
+
workspaceCount: number;
|
|
383
|
+
} | null | undefined;
|
|
363
384
|
}>, Error>;
|
|
364
385
|
export declare const useTaskScheduleRuns: (taskScheduleId: string | null) => import('@tanstack/react-query').UseInfiniteQueryResult<{
|
|
365
386
|
taskScheduleRunId: string;
|
|
@@ -386,6 +407,7 @@ export type CreateTaskScheduleSeriesInput = {
|
|
|
386
407
|
export type UpdateTaskScheduleSeriesInput = {
|
|
387
408
|
readonly taskScheduleId: string;
|
|
388
409
|
readonly patch: {
|
|
410
|
+
readonly expectedRevision?: number;
|
|
389
411
|
readonly title?: string | null;
|
|
390
412
|
readonly message?: string;
|
|
391
413
|
readonly scheduledFor?: string;
|
|
@@ -407,7 +429,7 @@ export declare const usePauseTaskSchedule: () => import('@tanstack/react-query')
|
|
|
407
429
|
status: "paused";
|
|
408
430
|
}, Error, string, unknown>;
|
|
409
431
|
export declare const useResumeTaskSchedule: () => import('@tanstack/react-query').UseMutationResult<{
|
|
410
|
-
status: "active" | "completed";
|
|
432
|
+
status: "active" | "completed" | "needs_attention";
|
|
411
433
|
nextRunAt: string | null;
|
|
412
434
|
}, Error, string, unknown>;
|
|
413
435
|
export declare const useRunNowTaskSchedule: () => import('@tanstack/react-query').UseMutationResult<{
|
package/dist/app/BelongDock.d.ts
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BelongDock — right-edge (or left-edge) docked assistant shell.
|
|
3
|
-
*
|
|
4
|
-
* Layout:
|
|
5
|
-
* - A 52px rail (EmbedRail) is always visible on the chosen edge: user
|
|
6
|
-
* avatar (account + theme controls), Chat / Terminal / Files nav, and a
|
|
7
|
-
* collapse/expand toggle.
|
|
8
|
-
* - When not collapsed, a panel sits beside the rail: EmbedHeader (mark,
|
|
9
|
-
* title, Chats menu, TTS speaker, fullscreen toggle) over the active view's
|
|
10
|
-
* body (chat / files via the router <Outlet/>).
|
|
11
|
-
* - Three width states (collapsed / expanded / fullscreen) come from
|
|
12
|
-
* embed/dock-layout.ts; the host <body> margin reserves the same width so
|
|
13
|
-
* the dock never overlaps host content.
|
|
14
|
-
*
|
|
15
|
-
* Theme:
|
|
16
|
-
* - `peekTheme()` / `subscribeTheme()` are the live store; the host (Anna)
|
|
17
|
-
* pushes updates via `window.belong.setTheme(...)`. Belong/Ocean is the
|
|
18
|
-
* default palette but a host brand push still re-themes everything.
|
|
19
|
-
* - The dock applies the active palette as inline CSS variables on its root
|
|
20
|
-
* so values cascade to every descendant. Dark mode + side toggles live in
|
|
21
|
-
* the rail-top avatar menu (toggleThemeMode / toggleThemeSide).
|
|
22
|
-
*
|
|
23
|
-
* Auth gate:
|
|
24
|
-
* - With no auth source (`hasBelongAuthSource()` false) the panel shows
|
|
25
|
-
* EmbedLogin; once the host provides one — a static token, a sync provider,
|
|
26
|
-
* or the component embed's async `getToken` — the gate flips and chat
|
|
27
|
-
* renders. It's not a reactive store, so we poll it into local state.
|
|
28
|
-
*/
|
|
29
1
|
export declare const BelongDock: () => import("react").JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type DemoBrand = "belong" | "simetrik";
|
|
2
|
+
export declare const createDemoFeatureRoutes: (brand: DemoBrand, sessions: {
|
|
3
|
+
readonly main: string;
|
|
4
|
+
readonly second: string;
|
|
5
|
+
}, enabled: boolean) => {
|
|
6
|
+
skills: () => {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
group: string;
|
|
10
|
+
source: string;
|
|
11
|
+
}[];
|
|
12
|
+
fetch: (request: Request, path: string) => Promise<Response | null>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UsageData } from '../stream/belong-data-parts';
|
|
2
|
+
import { DemoBrand } from './dock-demo-features.ts';
|
|
3
|
+
export type { DemoBrand } from './dock-demo-features.ts';
|
|
4
|
+
export declare const DEMO_API = "https://demo.belong.test";
|
|
5
|
+
export type DemoActivity = "thinking" | "command" | "skill" | "tool" | "subagents";
|
|
6
|
+
export declare const demoWorkflowPrompts: (brand: DemoBrand) => readonly {
|
|
7
|
+
label: string;
|
|
8
|
+
message: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const DEMO_SESSIONS: {
|
|
12
|
+
sessionId: string;
|
|
13
|
+
title: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const demoIdentity: (seed?: string) => {
|
|
17
|
+
main: string;
|
|
18
|
+
second: string;
|
|
19
|
+
third: string;
|
|
20
|
+
backgroundRun: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const demoSessions: (brand: DemoBrand, seed?: string) => {
|
|
23
|
+
sessionId: string;
|
|
24
|
+
title: string;
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}[];
|
|
27
|
+
export declare const DEMO_MAIN_SESSION = "a1111111-1111-4111-8111-111111111111";
|
|
28
|
+
export declare const DEMO_SECOND_SESSION = "a2222222-2222-4222-8222-222222222222";
|
|
29
|
+
export declare const DEMO_BACKGROUND_RUN = "b2222222-2222-4222-8222-222222222222";
|
|
30
|
+
export declare const DEMO_USAGE: UsageData;
|
|
31
|
+
export declare function createDockDemoTransport(brand?: DemoBrand, seed?: string, activity?: DemoActivity, newFeatures?: boolean): {
|
|
32
|
+
fetch: typeof fetch;
|
|
33
|
+
dispose: () => void;
|
|
34
|
+
};
|
|
35
|
+
/** Only this reserved origin is intercepted; Storybook's own assets still
|
|
36
|
+
* load normally. Unknown API routes receive a local 404, never a real fetch. */
|
|
37
|
+
export declare function installDockDemoTransport(brand?: DemoBrand, seed?: string, activity?: DemoActivity, newFeatures?: boolean): () => void;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
+
import { SlashInventory } from '../api/skills';
|
|
3
|
+
import { PrePromptSummary } from '../api/pre-prompts';
|
|
4
|
+
import { ConnectorCatalogEntry, ConnectorSummary } from '../api/connectors';
|
|
5
|
+
import { AccountConnector } from '../api/account-connectors';
|
|
6
|
+
import { TaskScheduleDetail, TaskScheduleListItem, TaskScheduleRun } from '../api/task-schedules';
|
|
7
|
+
export declare const prompts: readonly PrePromptSummary[];
|
|
8
|
+
export declare const connectors: readonly ConnectorSummary[];
|
|
9
|
+
export declare const schedule: TaskScheduleListItem;
|
|
10
|
+
export declare const detail: TaskScheduleDetail;
|
|
11
|
+
export declare const demoScheduleRuns: readonly TaskScheduleRun[];
|
|
12
|
+
export declare function dockStorySkills(brand: "belong" | "simetrik", expanded?: boolean): SlashInventory;
|
|
13
|
+
export declare function dockStoryData(brand: "belong" | "simetrik"): {
|
|
14
|
+
prompts: readonly PrePromptSummary[];
|
|
15
|
+
connectors: readonly ConnectorSummary[];
|
|
16
|
+
schedule: {
|
|
17
|
+
taskScheduleId: string;
|
|
18
|
+
title: string;
|
|
19
|
+
status: "active" | "completed" | "paused" | "deleted";
|
|
20
|
+
recurrence: {
|
|
21
|
+
readonly kind: "none";
|
|
22
|
+
} | {
|
|
23
|
+
readonly kind: "daily";
|
|
24
|
+
} | {
|
|
25
|
+
readonly kind: "weekdays";
|
|
26
|
+
} | {
|
|
27
|
+
readonly kind: "weekly";
|
|
28
|
+
} | {
|
|
29
|
+
readonly kind: "manual";
|
|
30
|
+
} | {
|
|
31
|
+
readonly kind: "interval";
|
|
32
|
+
readonly intervalMinutes: number;
|
|
33
|
+
};
|
|
34
|
+
timezone: string;
|
|
35
|
+
nextRunAt: string | null;
|
|
36
|
+
lastRun: {
|
|
37
|
+
status: "failed" | "completed" | "running";
|
|
38
|
+
at: string | null;
|
|
39
|
+
} | null;
|
|
40
|
+
messagePreview: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
shared?: boolean | undefined;
|
|
43
|
+
};
|
|
44
|
+
detail: {
|
|
45
|
+
taskScheduleId: string;
|
|
46
|
+
title: string;
|
|
47
|
+
status: "active" | "completed" | "paused" | "deleted";
|
|
48
|
+
recurrence: {
|
|
49
|
+
readonly kind: "none";
|
|
50
|
+
} | {
|
|
51
|
+
readonly kind: "daily";
|
|
52
|
+
} | {
|
|
53
|
+
readonly kind: "weekdays";
|
|
54
|
+
} | {
|
|
55
|
+
readonly kind: "weekly";
|
|
56
|
+
} | {
|
|
57
|
+
readonly kind: "manual";
|
|
58
|
+
} | {
|
|
59
|
+
readonly kind: "interval";
|
|
60
|
+
readonly intervalMinutes: number;
|
|
61
|
+
};
|
|
62
|
+
timezone: string;
|
|
63
|
+
nextRunAt: string | null;
|
|
64
|
+
lastRun: {
|
|
65
|
+
status: "failed" | "completed" | "running";
|
|
66
|
+
at: string | null;
|
|
67
|
+
} | null;
|
|
68
|
+
messagePreview: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
explicitTitle: string | null;
|
|
71
|
+
message: string;
|
|
72
|
+
mode: "plan" | "approve" | "balanced" | "bypass";
|
|
73
|
+
timeExpression: string;
|
|
74
|
+
anchorAt: string;
|
|
75
|
+
totalRunsCount: number;
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
notification: {
|
|
78
|
+
kind: "completion_email";
|
|
79
|
+
recipients?: string[] | undefined;
|
|
80
|
+
} | {
|
|
81
|
+
kind: "custom_email";
|
|
82
|
+
templatePath: string;
|
|
83
|
+
recipients?: string[] | undefined;
|
|
84
|
+
};
|
|
85
|
+
microsoftTeamsDelivery: {
|
|
86
|
+
destination: {
|
|
87
|
+
kind: "chat";
|
|
88
|
+
chatId: string;
|
|
89
|
+
} | {
|
|
90
|
+
kind: "channel";
|
|
91
|
+
teamId: string;
|
|
92
|
+
channelId: string;
|
|
93
|
+
};
|
|
94
|
+
status: "active" | "revoked" | "suspended";
|
|
95
|
+
allowExternalRecipients: boolean;
|
|
96
|
+
maxMessagesPerRun: number;
|
|
97
|
+
expiresAt: string;
|
|
98
|
+
} | null;
|
|
99
|
+
shared?: boolean | undefined;
|
|
100
|
+
sharing?: {
|
|
101
|
+
definitionId: string;
|
|
102
|
+
role: "edit" | "revoked" | "use" | "owner";
|
|
103
|
+
revision: number;
|
|
104
|
+
workspaceCount: number;
|
|
105
|
+
} | null | undefined;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export declare function createDockStoryQueryClient(brand?: "belong" | "simetrik", scheduleSessionId?: string, expanded?: boolean): QueryClient;
|
|
109
|
+
/** Rich client-demo fixtures only; available providers still come from the real API in production. */
|
|
110
|
+
export declare function dockStoryApps(brand: "belong" | "simetrik"): {
|
|
111
|
+
connectors: readonly ConnectorSummary[];
|
|
112
|
+
catalog: readonly ConnectorCatalogEntry[];
|
|
113
|
+
accounts: readonly AccountConnector[];
|
|
114
|
+
};
|
|
115
|
+
export declare function dockStorySchedules(brand: "belong" | "simetrik"): readonly TaskScheduleDetail[];
|
|
116
|
+
export declare function dockStoryRuns(item: TaskScheduleDetail, sessionId?: string): readonly TaskScheduleRun[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
thinking-orbs 0.3.1
|
|
2
|
+
https://github.com/Jakubantalik/thinking-orbs
|
|
3
|
+
|
|
4
|
+
MIT License
|
|
5
|
+
|
|
6
|
+
Copyright (c) 2026 Jakub Antalik
|
|
7
|
+
|
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
in the Software without restriction, including without limitation the rights
|
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
furnished to do so, subject to the following conditions:
|
|
14
|
+
|
|
15
|
+
The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
copies or substantial portions of the Software.
|
|
17
|
+
|
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
SOFTWARE.
|
package/dist/component/{abnfDiagram-N423BO3Z-D4mVRMw9.js → abnfDiagram-N423BO3Z-BZFjrvGh.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-
|
|
2
|
-
import { p as f } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as a, l as o } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { g as p, r as u, d as n } from "./chunk-6Q2QTUOP-oYZ6WlsT.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-BsHiqT8c.js";
|
|
3
|
+
import { _ as a, l as o } from "./mermaid-GHXKKRXX-CssTT3y2.js";
|
|
4
4
|
import { M as c, b as g } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
6
6
|
globalThis.global = globalThis.global || globalThis;
|
|
@@ -87,4 +87,4 @@ var b = g().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ a((e) => {
|
|
|
87
87
|
export {
|
|
88
88
|
T as diagram
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=abnfDiagram-N423BO3Z-
|
|
90
|
+
//# sourceMappingURL=abnfDiagram-N423BO3Z-BZFjrvGh.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as ln, I as an, J as g, K as on, M as Q, N as w, O as _, P as sn, Q as rn, S as X, T as t, V as J, W as un, X as tn, Y as fn } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { H as ln, I as an, J as g, K as on, M as Q, N as w, O as _, P as sn, Q as rn, S as X, T as t, V as J, W as un, X as tn, Y as fn } from "./mermaid-GHXKKRXX-CssTT3y2.js";
|
|
2
2
|
globalThis.process = globalThis.process || { env: {} };
|
|
3
3
|
globalThis.global = globalThis.global || globalThis;
|
|
4
4
|
function cn(l) {
|
|
@@ -83,4 +83,4 @@ function xn() {
|
|
|
83
83
|
export {
|
|
84
84
|
xn as d
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=arc-
|
|
86
|
+
//# sourceMappingURL=arc-R371iLQK.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as ke } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { ba as qe, _ as ct, G as Qe, ag as Je, l as Se, b as Ke, a as je, o as _e, p as tr, g as er, s as rr, q as ir, D as ar, z as nr, E as or, c as me, b2 as Ee, al as ve, i as sr, d as hr, r as lr, am as fr, bb as cr } from "./mermaid-GHXKKRXX-
|
|
1
|
+
import { p as ke } from "./chunk-JWPE2WC7-BsHiqT8c.js";
|
|
2
|
+
import { ba as qe, _ as ct, G as Qe, ag as Je, l as Se, b as Ke, a as je, o as _e, p as tr, g as er, s as rr, q as ir, D as ar, z as nr, E as or, c as me, b2 as Ee, al as ve, i as sr, d as hr, r as lr, am as fr, bb as cr } from "./mermaid-GHXKKRXX-CssTT3y2.js";
|
|
3
3
|
import { p as gr } from "./cynefin-VYW2F7L2-DAyxamLw.js";
|
|
4
4
|
import { c as Fe } from "./cytoscape.esm-C31R6JOv.js";
|
|
5
5
|
globalThis.process = globalThis.process || { env: {} };
|
|
@@ -4781,4 +4781,4 @@ var Ur = /* @__PURE__ */ ct(async (w, F, M, P) => {
|
|
|
4781
4781
|
export {
|
|
4782
4782
|
zr as diagram
|
|
4783
4783
|
};
|
|
4784
|
-
//# sourceMappingURL=architectureDiagram-T3A2C74G-
|
|
4784
|
+
//# sourceMappingURL=architectureDiagram-T3A2C74G-CcH5CU8G.js.map
|