@parallelworks/code 0.0.0-stage → 0.2.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.
Files changed (73) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +205 -2
  3. package/dist/api.d.ts +3469 -0
  4. package/dist/apiClient.d.ts +26 -0
  5. package/dist/apiClient.js +5 -0
  6. package/dist/claudeApi.d.ts +27 -0
  7. package/dist/claudeApi.js +250 -0
  8. package/dist/command.d.ts +47 -0
  9. package/dist/command.js +64 -0
  10. package/dist/commandsApi.d.ts +64 -0
  11. package/dist/commandsApi.js +267 -0
  12. package/dist/createPwCodeApi.d.ts +688 -0
  13. package/dist/createPwCodeApi.js +31 -0
  14. package/dist/images.d.ts +7 -0
  15. package/dist/images.js +22 -0
  16. package/dist/index.d.ts +18 -0
  17. package/dist/index.js +18 -0
  18. package/dist/locales/en/agentTranscript.js +170 -0
  19. package/dist/locales/en/agents.js +380 -0
  20. package/dist/locales/en.d.ts +531 -0
  21. package/dist/locales/en.js +8 -0
  22. package/dist/locales/es/agentTranscript.js +170 -0
  23. package/dist/locales/es/agents.js +380 -0
  24. package/dist/locales/es.d.ts +3 -0
  25. package/dist/locales/es.js +8 -0
  26. package/dist/locales/ja/agentTranscript.js +170 -0
  27. package/dist/locales/ja/agents.js +380 -0
  28. package/dist/locales/ja.d.ts +3 -0
  29. package/dist/locales/ja.js +8 -0
  30. package/dist/locales/ko/agentTranscript.js +170 -0
  31. package/dist/locales/ko/agents.js +380 -0
  32. package/dist/locales/ko.d.ts +3 -0
  33. package/dist/locales/ko.js +8 -0
  34. package/dist/locales/zh/agentTranscript.js +170 -0
  35. package/dist/locales/zh/agents.js +380 -0
  36. package/dist/locales/zh.d.ts +3 -0
  37. package/dist/locales/zh.js +8 -0
  38. package/dist/machine.d.ts +49 -0
  39. package/dist/machine.js +60 -0
  40. package/dist/messages.d.ts +17 -0
  41. package/dist/messages.js +31 -0
  42. package/dist/notices.d.ts +11 -0
  43. package/dist/notices.js +94 -0
  44. package/dist/pullRequest.d.ts +8 -0
  45. package/dist/pullRequest.js +29 -0
  46. package/dist/query.d.ts +28 -0
  47. package/dist/query.js +25 -0
  48. package/dist/session.d.ts +72 -0
  49. package/dist/session.js +111 -0
  50. package/dist/sessionEvents.d.ts +27 -0
  51. package/dist/sessionEvents.js +212 -0
  52. package/dist/sessionsApi.d.ts +105 -0
  53. package/dist/sessionsApi.js +513 -0
  54. package/dist/toolStrings.d.ts +4 -0
  55. package/dist/toolStrings.js +95 -0
  56. package/dist/transcript.d.ts +151 -0
  57. package/dist/transcript.js +1315 -0
  58. package/dist/types.d.ts +234 -0
  59. package/dist/useTranscript.d.ts +63 -0
  60. package/dist/useTranscript.js +243 -0
  61. package/dist/wording.d.ts +43 -0
  62. package/dist/wording.js +101 -0
  63. package/locales/en/agentTranscript.json +162 -0
  64. package/locales/en/agents.json +366 -0
  65. package/locales/es/agentTranscript.json +162 -0
  66. package/locales/es/agents.json +366 -0
  67. package/locales/ja/agentTranscript.json +162 -0
  68. package/locales/ja/agents.json +366 -0
  69. package/locales/ko/agentTranscript.json +162 -0
  70. package/locales/ko/agents.json +366 -0
  71. package/locales/zh/agentTranscript.json +162 -0
  72. package/locales/zh/agents.json +366 -0
  73. package/package.json +68 -3
@@ -0,0 +1,31 @@
1
+ import { claudeApi } from "./claudeApi.js";
2
+ import { commandsApi } from "./commandsApi.js";
3
+ import { reachedByFeed, sessionEvents } from "./sessionEvents.js";
4
+ import { sessionsApi } from "./sessionsApi.js";
5
+ import { useMemo } from "react";
6
+ // src/createPwCodeApi.ts
7
+ /** The calls and data hooks of pw code sessions over the host's API client,
8
+ * which carries its base URL and signs its requests. Create it once per
9
+ * client: its hooks share SWR cache entries keyed as
10
+ * `@parallelworks/client/swr`'s are, and the open feeds it counts are its own. */
11
+ function createPwCodeApi(client, options = {}) {
12
+ const routes = client;
13
+ const sessions = sessionsApi(routes);
14
+ const { useSessionEvents, useFedMachines } = sessionEvents(options);
15
+ /** The listing's machines. One with a session feed open counts as connected
16
+ * whatever the poll says: the feed is the machine answering, and the polled
17
+ * listing can lose a machine it still reaches. */
18
+ function useMachines() {
19
+ const { data } = sessions.useSessions();
20
+ const fed = useFedMachines();
21
+ return useMemo(() => reachedByFeed(data?.machines ?? [], fed), [data, fed]);
22
+ }
23
+ return {
24
+ ...sessions,
25
+ ...commandsApi(routes),
26
+ ...claudeApi(routes),
27
+ useMachines,
28
+ useSessionEvents
29
+ };
30
+ }
31
+ export { createPwCodeApi };
@@ -0,0 +1,7 @@
1
+ /** The full-size image a session's transcript names by ref. */
2
+ export declare function sessionImageUrl(machine: string, session: string, ref: string): string;
3
+ export declare function isSessionImageUrl(url: string): boolean;
4
+ /** The asset id of a file attached on GitHub, which a private repository shows only to its members. */
5
+ export declare function githubAttachmentAsset(src: string): string | undefined;
6
+ /** A GitHub attachment as the session's machine reads it from a pull request the session opened. */
7
+ export declare function sessionGitHubImageUrl(machine: string, session: string, asset: string): string;
package/dist/images.js ADDED
@@ -0,0 +1,22 @@
1
+ // src/images.ts
2
+ var SESSION_IMAGES = "/api/code/machines/";
3
+ var GITHUB_ASSET_PATH = /^\/user-attachments\/assets\/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/;
4
+ /** The full-size image a session's transcript names by ref. */
5
+ function sessionImageUrl(machine, session, ref) {
6
+ return `${SESSION_IMAGES}${encodeURIComponent(machine)}/sessions/${encodeURIComponent(session)}/images/${encodeURIComponent(ref)}`;
7
+ }
8
+ function isSessionImageUrl(url) {
9
+ return url.startsWith(SESSION_IMAGES) && url.includes("/images/");
10
+ }
11
+ /** The asset id of a file attached on GitHub, which a private repository shows only to its members. */
12
+ function githubAttachmentAsset(src) {
13
+ if (!URL.canParse(src)) return;
14
+ const url = new URL(src);
15
+ if (url.protocol !== "https:" || url.hostname !== "github.com") return;
16
+ return GITHUB_ASSET_PATH.exec(url.pathname)?.[1];
17
+ }
18
+ /** A GitHub attachment as the session's machine reads it from a pull request the session opened. */
19
+ function sessionGitHubImageUrl(machine, session, asset) {
20
+ return `${SESSION_IMAGES}${encodeURIComponent(machine)}/sessions/${encodeURIComponent(session)}/github-images/${encodeURIComponent(asset)}`;
21
+ }
22
+ export { githubAttachmentAsset, isSessionImageUrl, sessionGitHubImageUrl, sessionImageUrl };
@@ -0,0 +1,18 @@
1
+ export type { PwCodeAddedDirectory, PwCodeAllowedDirectory, PwCodeApprovalAnswer, PwCodeApprovalRequest, PwCodeAskOption, PwCodeGoalStatus, PwCodeHistoryItem, PwCodeHistoryKind, PwCodeImage, PwCodeImageRef, PwCodePasteView, PwCodeSessionDetail, PwCodeSessionState, PwCodeSessionStatus, PwCodeStreamEvent, PwCodeSubagentDetail, PwCodeSubagentUsage, } from './types.js';
2
+ export { type PwCodeClient, type PwCodeComponents, type PwCodePaths, QUERY_KEY_PREFIX, } from './apiClient.js';
3
+ export { createPwCodeApi, type PwCodeApi, type PwCodeApiOptions, } from './createPwCodeApi.js';
4
+ export { cachedCopyCurrent, pasteRefs, patchPullRequestStates, patchSessionNames, pullRequestsRefreshMs, type PwCodePasteUpload, SESSIONS_REFRESH_MS, useLastReadAt, } from './sessionsApi.js';
5
+ export { backgroundOfferDelayMs, type CommandOutcome, type SlashDeps, } from './commandsApi.js';
6
+ export { type ClaudeLogin, type ClaudeLoginEvent, type ClaudeLoginInput, claudeLoginFinished, } from './claudeApi.js';
7
+ export { changesSubagents, reachedByFeed, sessionEventsPath, } from './sessionEvents.js';
8
+ export { githubAttachmentAsset, isSessionImageUrl, sessionGitHubImageUrl, sessionImageUrl, } from './images.js';
9
+ export { type PwCodePalette, type PwCodeSlashCommand, paletteOptions, type SlashAction, shellCommand, slashAction, steerMayHaveLanded, } from './command.js';
10
+ export { canStartHere, isComputer, isConnected, isMachineDown, isUnreachableError, machinesById, type PwCodeMachine, splitMachines, type TerminalHandoff, terminalHandoff, } from './machine.js';
11
+ export { isPwCodeLocale, loadPwCodeMessages, type PwCodeLocale, type PwCodeMessages, type PwCodeNamespace, type PwCodeTranslator, pwCodeLocales, pwCodeNamespaces, usePwCodeTranslations, } from './messages.js';
12
+ export { turnDuration, useCompactionNotice, useRecapNotice, useResumeTime, useTranscriptWords, } from './notices.js';
13
+ export { pastedPullRequestLabel, pullRequestKind, pullRequestLabel, pullRequestShortLabel, } from './pullRequest.js';
14
+ export { isActiveSession, isArchived, isMidTurn, isSession, needsYou, newestFirst, pathBasename, type PwCodePendingApprovals, type PwCodeSession, type RecentDirectory, recentDirectories, sessionClock, sessionKey, sessionStatusVariant, sessionVariant, sharedStoreCopy, spansMachines, triageSessions, waitsOnAnswer, } from './session.js';
15
+ export { appendOwnMessage, appendSteeredMessage, applyStreamEvent, approvalAnswerBody, approvalToPart, bashRunning, type CompactionNotice, dropMessage, type GoalNotice, historyToMessages, type ImageUrl, initialTranscript, liveSessionStatus, pendingApprovals, pendingMessages, type RecapNotice, resolveApprovalEverywhere, reviewingCount, resumeCursor, type StreamEffect, subagentFrame, subagentSessionDetail, type TranscriptState, type TranscriptWords, turnRunning, type TurnVerb, } from './transcript.js';
16
+ export { useToolStrings } from './toolStrings.js';
17
+ export { type PwCodeSendResult, type PwCodeSteerResult, type PwCodeWithdrawResult, usePwCodeTranscript, } from './useTranscript.js';
18
+ export { composerState, IMAGE_PLACEHOLDER, machineHint, rememberSentPrompt, sessionLabel, sessionStateText, sessionStatusText, } from './wording.js';
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ import { QUERY_KEY_PREFIX } from "./apiClient.js";
2
+ import { createPwCodeApi } from "./createPwCodeApi.js";
3
+ import { SESSIONS_REFRESH_MS, cachedCopyCurrent, pasteRefs, patchPullRequestStates, patchSessionNames, pullRequestsRefreshMs, useLastReadAt } from "./sessionsApi.js";
4
+ import { backgroundOfferDelayMs } from "./commandsApi.js";
5
+ import { claudeLoginFinished } from "./claudeApi.js";
6
+ import { changesSubagents, reachedByFeed, sessionEventsPath } from "./sessionEvents.js";
7
+ import { githubAttachmentAsset, isSessionImageUrl, sessionGitHubImageUrl, sessionImageUrl } from "./images.js";
8
+ import { paletteOptions, shellCommand, slashAction, steerMayHaveLanded } from "./command.js";
9
+ import { canStartHere, isComputer, isConnected, isMachineDown, isUnreachableError, machinesById, splitMachines, terminalHandoff } from "./machine.js";
10
+ import { isPwCodeLocale, loadPwCodeMessages, pwCodeLocales, pwCodeNamespaces, usePwCodeTranslations } from "./messages.js";
11
+ import { turnDuration, useCompactionNotice, useRecapNotice, useResumeTime, useTranscriptWords } from "./notices.js";
12
+ import { pastedPullRequestLabel, pullRequestKind, pullRequestLabel, pullRequestShortLabel } from "./pullRequest.js";
13
+ import { isActiveSession, isArchived, isMidTurn, isSession, needsYou, newestFirst, pathBasename, recentDirectories, sessionClock, sessionKey, sessionStatusVariant, sessionVariant, sharedStoreCopy, spansMachines, triageSessions, waitsOnAnswer } from "./session.js";
14
+ import { appendOwnMessage, appendSteeredMessage, applyStreamEvent, approvalAnswerBody, approvalToPart, bashRunning, dropMessage, historyToMessages, initialTranscript, liveSessionStatus, pendingApprovals, pendingMessages, resolveApprovalEverywhere, resumeCursor, reviewingCount, subagentFrame, subagentSessionDetail, turnRunning } from "./transcript.js";
15
+ import { useToolStrings } from "./toolStrings.js";
16
+ import { usePwCodeTranscript } from "./useTranscript.js";
17
+ import { IMAGE_PLACEHOLDER, composerState, machineHint, rememberSentPrompt, sessionLabel, sessionStateText, sessionStatusText } from "./wording.js";
18
+ export { IMAGE_PLACEHOLDER, QUERY_KEY_PREFIX, SESSIONS_REFRESH_MS, appendOwnMessage, appendSteeredMessage, applyStreamEvent, approvalAnswerBody, approvalToPart, backgroundOfferDelayMs, bashRunning, cachedCopyCurrent, canStartHere, changesSubagents, claudeLoginFinished, composerState, createPwCodeApi, dropMessage, githubAttachmentAsset, historyToMessages, initialTranscript, isActiveSession, isArchived, isComputer, isConnected, isMachineDown, isMidTurn, isPwCodeLocale, isSession, isSessionImageUrl, isUnreachableError, liveSessionStatus, loadPwCodeMessages, machineHint, machinesById, needsYou, newestFirst, paletteOptions, pasteRefs, pastedPullRequestLabel, patchPullRequestStates, patchSessionNames, pathBasename, pendingApprovals, pendingMessages, pullRequestKind, pullRequestLabel, pullRequestShortLabel, pullRequestsRefreshMs, pwCodeLocales, pwCodeNamespaces, reachedByFeed, recentDirectories, rememberSentPrompt, resolveApprovalEverywhere, resumeCursor, reviewingCount, sessionClock, sessionEventsPath, sessionGitHubImageUrl, sessionImageUrl, sessionKey, sessionLabel, sessionStateText, sessionStatusText, sessionStatusVariant, sessionVariant, sharedStoreCopy, shellCommand, slashAction, spansMachines, splitMachines, steerMayHaveLanded, subagentFrame, subagentSessionDetail, terminalHandoff, triageSessions, turnDuration, turnRunning, useCompactionNotice, useLastReadAt, usePwCodeTranscript, usePwCodeTranslations, useRecapNotice, useResumeTime, useToolStrings, useTranscriptWords, waitsOnAnswer };
@@ -0,0 +1,170 @@
1
+ // locales/en/agentTranscript.json
2
+ var transcript = {
3
+ "running": "Running…",
4
+ "done": "Done",
5
+ "failed": "Failed",
6
+ "failedWith": "Failed: {reason}",
7
+ "callGroup": "Ran {tool} {count, plural, one {# time} other {# times}}",
8
+ "editGroup": "Made {count, plural, one {# edit} other {# edits}}",
9
+ "writeGroup": "Wrote {count, plural, one {# file} other {# files}}",
10
+ "failedGroup": "{tool} failed {count, plural, one {# time} other {# times}}",
11
+ "failedCount": "{count} failed",
12
+ "interrupted": "Interrupted",
13
+ "noOutput": "(no output)",
14
+ "diffTruncated": "Diff truncated",
15
+ "moreLines": "+{count, plural, one {# more line} other {# more lines}}",
16
+ "allowOnce": "Yes, allow this command",
17
+ "allowDirectory": "Yes, and allow this directory for the session",
18
+ "allowDirectoryTree": "Yes, and allow {path} and everything under it for the session",
19
+ "allowDirectoryOnly": "Yes, and allow {path} for the session",
20
+ "deny": "No, deny this command",
21
+ "allowCode": "Yes, run this code",
22
+ "denyCode": "No, don't run this code",
23
+ "allowPath": "Yes, allow this once",
24
+ "denyPath": "No, deny",
25
+ "allowCall": "Yes, allow this call",
26
+ "denyCall": "No, deny this call",
27
+ "denyWithFeedback": "No, and provide feedback to the agent",
28
+ "feedbackPlaceholder": "Tell the agent what to do instead…",
29
+ "answered": "Answered",
30
+ "allowedBy": "Allowed by {name}",
31
+ "deniedBy": "Denied by {name}",
32
+ "allowed": "Allowed",
33
+ "denied": "Denied",
34
+ "allowedByReviewer": "Allowed by the auto-reviewer",
35
+ "deniedByReviewer": "Denied by the auto-reviewer",
36
+ "approvalExpired": "Expired without an answer",
37
+ "approvalTimedOut": "Denied: no answer in time",
38
+ "reviewTimedOut": "Denied: the auto-reviewer timed out",
39
+ "reviewFailed": "Denied: the auto-reviewer failed",
40
+ "writeOwnAnswer": "Write my own answer…",
41
+ "subagent": "Task",
42
+ "tasks": "Tasks",
43
+ "planPending": "Plan awaiting approval in the terminal",
44
+ "approvalPending": "Waiting for an answer in the terminal",
45
+ "approvalOptions": "Offered choices",
46
+ "approvalLabel": "Waiting for your answer",
47
+ "approvalAllowed": "Allowed",
48
+ "approvalDenied": "Declined",
49
+ "approvalRequestExpired": "This request expired. Ask again to run it.",
50
+ "approvalWaitingOn": "Waiting for {name} to answer",
51
+ "feedbackLabel": "Feedback for the agent",
52
+ "ownAnswerLabel": "Your answer",
53
+ "typeYourAnswer": "Type your answer…",
54
+ "questionsLabel": "Questions",
55
+ "questionTab": "Q{n}",
56
+ "answeredCount": "{answered} of {total} answered",
57
+ "submitAnswers": "Submit answers",
58
+ "chatAboutThis": "Chat about this",
59
+ "noAnswer": "No answer",
60
+ "noPreview": "No preview for this option",
61
+ "previewOf": "Preview: {label}",
62
+ "notesLabel": "Notes",
63
+ "notesPlaceholder": "Add notes on this design…",
64
+ "notesOnly": "(notes only)",
65
+ "todoPending": "To do",
66
+ "todoInProgress": "In progress",
67
+ "todoCompleted": "Done",
68
+ "argsRewritten": "(args rewritten by hook)",
69
+ "interruptedReason": "interrupted",
70
+ "reviewing": "{count, plural, =1 {Reviewing approval request} other {Reviewing # approval requests}}",
71
+ "backgroundLaunched": "{count, plural, one {# background agent} other {# background agents}} launched"
72
+ };
73
+ var tools = {
74
+ "noOutput": "(no output)",
75
+ "firstLineMore": "{line} (+{more, plural, one {# line} other {# lines}})",
76
+ "emptyFile": "Empty file",
77
+ "readImage": "Read image",
78
+ "readLines": "Read {lines, plural, one {# line} other {# lines}}",
79
+ "readLinesMore": "Read {lines, plural, one {# line} other {# lines}} ({more, number} more)",
80
+ "noMatches": "No matches",
81
+ "foundMatches": "Found {matches, plural, one {# match} other {# matches}} in {files, plural, one {# file} other {# files}}",
82
+ "foundFiles": "Found {files, plural, one {# file} other {# files}}",
83
+ "noFilesMatched": "No files matched",
84
+ "truncated": "{summary} (truncated)",
85
+ "exitCode": "Exit {code}",
86
+ "exitCodeLines": "Exit {code} · {lines, plural, one {# line} other {# lines}}",
87
+ "httpStatus": "HTTP {status} · {lines, plural, one {# line} other {# lines}}",
88
+ "outputTruncated": "{summary} (output truncated)",
89
+ "addedRemoved": "Added {added, plural, one {# line} other {# lines}}, removed {removed, plural, one {# line} other {# lines}}",
90
+ "added": "Added {added, plural, one {# line} other {# lines}}",
91
+ "removed": "Removed {removed, plural, one {# line} other {# lines}}",
92
+ "wrote": "Wrote {lines, plural, one {# line} other {# lines}}",
93
+ "wroteTo": "Wrote {lines, plural, one {# line} other {# lines}} to {path}",
94
+ "rollupSearched": "searched for {count, plural, one {# pattern} other {# patterns}}",
95
+ "rollupRead": "read {count, plural, one {# file} other {# files}}",
96
+ "rollupRanCommands": "ran {count, plural, one {# shell command} other {# shell commands}}",
97
+ "rollupFetched": "fetched {count, plural, one {# URL} other {# URLs}}",
98
+ "rollupLoadedSkills": "loaded {count, plural, one {# skill} other {# skills}}",
99
+ "rollupSentMessages": "sent {count, plural, one {# message} other {# messages}}",
100
+ "rollupCalledMcpTools": "called {count, plural, one {# MCP tool} other {# MCP tools}}",
101
+ "rollupRanTools": "ran {count, plural, one {# tool} other {# tools}}",
102
+ "rollupSearching": "searching for {count, plural, one {# pattern} other {# patterns}}",
103
+ "rollupReading": "reading {count, plural, one {# file} other {# files}}",
104
+ "rollupRunningCommands": "running {count, plural, one {# shell command} other {# shell commands}}",
105
+ "rollupFetching": "fetching {count, plural, one {# URL} other {# URLs}}",
106
+ "rollupLoadingSkills": "loading {count, plural, one {# skill} other {# skills}}",
107
+ "rollupSendingMessages": "sending {count, plural, one {# message} other {# messages}}",
108
+ "rollupRunningTools": "running {count, plural, one {# tool} other {# tools}}",
109
+ "rollupCalledServer": "called {server} {count, plural, one {# time} other {# times}}",
110
+ "rollupCallingServer": "calling {server} {count, plural, one {# time} other {# times}}",
111
+ "rollupSeparator": ", ",
112
+ "rejected": "Tool use rejected",
113
+ "rejectedWith": "Tool use rejected: {feedback}",
114
+ "rejectedUpdate": "User rejected update to {path}",
115
+ "rejectedUpdateWith": "User rejected update to {path}: {feedback}",
116
+ "rejectedWrite": "User rejected write to {path}",
117
+ "rejectedWriteWith": "User rejected write to {path}: {feedback}",
118
+ "unattended": "Denied: this session cannot ask for approval",
119
+ "userInterrupted": "The user interrupted {tool} before it finished."
120
+ };
121
+ var queue = {
122
+ "remove": "Remove queued message",
123
+ "waiting": "Queued · sends when this reply finishes",
124
+ "waitingNextStep": "Queued · reaches the agent after its current step",
125
+ "handedOver": "Sent to the running turn"
126
+ };
127
+ var paste = {
128
+ "title": "Pasted text",
129
+ "lines": "{count, plural, one {# line} other {# lines}}",
130
+ "saving": "Saving…",
131
+ "remove": "Remove paste"
132
+ };
133
+ var thinking = { "thoughtProcess": "Thought process" };
134
+ var modelPicker = {
135
+ "choose": "Model",
136
+ "select": "Select a model",
137
+ "search": "Search models…",
138
+ "loading": "Loading models…",
139
+ "failed": "Failed to load models",
140
+ "none": "No models available",
141
+ "sharedBy": "Shared by {owner}",
142
+ "connecting": "Connecting…",
143
+ "notResponding": "Not responding",
144
+ "manageProvider": "Manage provider",
145
+ "selectFirst": "Select a model first"
146
+ };
147
+ var allocationPicker = {
148
+ "choose": "Allocation",
149
+ "placeholder": "Select allocation",
150
+ "search": "Search allocations…"
151
+ };
152
+ var providerIssue = {
153
+ "keyRejected": "API key rejected",
154
+ "unreachable": "Endpoint unreachable",
155
+ "keyRejectedHint": "The provider rejected this connection's API key. Update the key in the provider settings to resume.",
156
+ "unreachableHint": "The provider's endpoint did not respond. Check the endpoint URL and network access.",
157
+ "bannerKeyRejected": "API key rejected for “{provider}”",
158
+ "bannerUnreachable": "“{provider}” is unreachable"
159
+ };
160
+ var agentTranscript_default = {
161
+ transcript,
162
+ tools,
163
+ queue,
164
+ paste,
165
+ thinking,
166
+ modelPicker,
167
+ allocationPicker,
168
+ providerIssue
169
+ };
170
+ export { allocationPicker, agentTranscript_default as default, modelPicker, paste, providerIssue, queue, thinking, tools, transcript };