openpond 0.0.64 → 0.0.66
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/chunks/{app-layer-NCSTDSNQ.js → app-layer-MAATABDM.js} +2 -2
- package/dist/chunks/{app-server-runtime-XWIG4OWY.js → app-server-runtime-OW2IOMTR.js} +7 -7
- package/dist/chunks/{apps-HEG7FEEV.js → apps-L23POEUT.js} +2 -2
- package/dist/chunks/{chunk-EWP6VGHP.js → chunk-2N57HMVR.js} +1 -1
- package/dist/chunks/{chunk-BRLUAT6S.js → chunk-42WUHGKD.js} +61 -3
- package/dist/chunks/{chunk-JMHOO2IG.js → chunk-BPII37IS.js} +46 -4
- package/dist/chunks/{chunk-OYWTQABY.js → chunk-CWCMYSX2.js} +8 -0
- package/dist/chunks/{chunk-THYIAXOB.js → chunk-K37ACPJQ.js} +3 -3
- package/dist/chunks/{chunk-HM6Z3PEC.js → chunk-KVUB7HLM.js} +2600 -1169
- package/dist/chunks/{chunk-U345JN44.js → chunk-MHUN6LXO.js} +1 -1
- package/dist/chunks/{chunk-6FZNXLVN.js → chunk-RN7MVPC6.js} +44 -4
- package/dist/chunks/{chunk-C7TOCBGY.js → chunk-TRRJ6Z4L.js} +1 -1
- package/dist/chunks/{chunk-WT3THPTX.js → chunk-XIFRFL4T.js} +39 -34
- package/dist/chunks/{chunk-57XKCMOZ.js → chunk-ZE7MWXEL.js} +1 -1
- package/dist/chunks/{cli-3BI2QBI2.js → cli-HEL47VQ3.js} +6 -6
- package/dist/chunks/{core-commands-Y4ZMQXO4.js → core-commands-5TW5I3Z6.js} +3 -3
- package/dist/chunks/{desktop-test-YRFKONLO.js → desktop-test-JG6XDUTT.js} +2 -2
- package/dist/chunks/{extension-4MFKIC6Q.js → extension-UUM4ELAF.js} +46 -4
- package/dist/chunks/{help-STXVR4NO.js → help-JFQVVETR.js} +1 -1
- package/dist/chunks/{opchat-CCVKI5GH.js → opchat-3772JCGJ.js} +2 -2
- package/dist/chunks/{organizations-AS76SGLP.js → organizations-USWBONDO.js} +4 -4
- package/dist/chunks/{profile-QNWDNZY3.js → profile-2MYIXRUK.js} +2 -2
- package/dist/chunks/{project-agent-GPZL7KAL.js → project-agent-VDKGFG5V.js} +2 -2
- package/dist/chunks/{sandbox-command-LC63MMAA.js → sandbox-command-M5W3VWVP.js} +2 -2
- package/dist/chunks/{sandbox-template-FPQLZ4IP.js → sandbox-template-25SKARVM.js} +3 -3
- package/dist/chunks/{src-6NIBZPH2.js → src-KYP4COYD.js} +3 -3
- package/dist/chunks/{src-DQFVZZUR.js → src-S77UAM5T.js} +267 -91
- package/dist/chunks/{teams-bot-YTX7IC2J.js → teams-bot-BJJISVOG.js} +2 -2
- package/dist/chunks/{workspaces-IXF7MIQV.js → workspaces-OXDJN23P.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/hosted-chat.d.ts +15 -0
- package/dist/profile/local-profile-types.d.ts +2 -0
- package/dist/web/assets/{AppDialog-DacC7BcY.js → AppDialog-B8HYaM0m.js} +1 -1
- package/dist/web/assets/{AppsView-mkeAkrvr.js → AppsView-DzVZTM0y.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-1aEC6gsF.js → BrowserSidebar-BobBdHTm.js} +1 -1
- package/dist/web/assets/{CommandMenu-BN6J3ecV.js → CommandMenu-pp69WTbf.js} +1 -1
- package/dist/web/assets/{CommunityView-B2v9Q4cw.js → CommunityView-D1V7y3l5.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-BH8Ath1h.js → ComposerCreateImproveStrip-Dv5RKQaG.js} +1 -1
- package/dist/web/assets/{GetStartedView-B-R-KSva.js → GetStartedView-DXmHN_BA.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-Bhfa7T00.js → LabModelVersionDetailPage-BDN4AQVt.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-CbYdG0RN.js → LabSkillSidebar-DYR_pq0Q.js} +1 -1
- package/dist/web/assets/{LabsRoute-DFV5vV6Z.js → LabsRoute-CFXaPC-i.js} +3 -3
- package/dist/web/assets/{MainChatThread-COiXI7ri.js → MainChatThread-C1XrdeAC.js} +2 -2
- package/dist/web/assets/{MainPane-CQCLhV5C.js → MainPane-D8Mu6Nf3.js} +3 -3
- package/dist/web/assets/{MarkdownText-R3MC5S30.js → MarkdownText-D5-tAHVZ.js} +1 -1
- package/dist/web/assets/{Messages-DpZ8mIz8.js → Messages-CWoU5OZ2.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-BfcMqLHA.js → NativeSkillSidebar-cKgCM5s9.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-DqTX1Eeo.js → NewProjectDialog-B4wrkUrZ.js} +1 -1
- package/dist/web/assets/{OutputsPage-DfZYswx2.js → OutputsPage-DoJz_FcJ.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-DH8QjiDY.js → RightChatPanelStack-goxULcZy.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-DkaVUnwj.js → ScheduledWorkPage-DLtJnU9O.js} +1 -1
- package/dist/web/assets/{SettingsView-StVFsSJ6.js → SettingsView-M-_wJvH1.js} +3 -3
- package/dist/web/assets/{TeamChatView-CqZOnQh2.js → TeamChatView-Cst9bXqE.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-CnFv6FZT.js → TerminalOverlay-72oJPCbi.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-CWzyzmyT.js → TrainingCreationPanel-BK8T_q3X.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-BVHx0HZ0.js → TrainingDraftPanel-DSZ8e9ve.js} +1 -1
- package/dist/web/assets/UsageSettingsSection-Co0UH4EJ.js +59 -0
- package/dist/web/assets/{WorkspaceDiffPanel-DUCjD1GA.js → WorkspaceDiffPanel-OcpOQdEE.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-DHGrt_ie.js → WorkspaceEnvironmentMenu-Cg_VY5XS.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-hI57yjPL.js → WorkspaceGitDialogs-ApPWIEpT.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-DPv-1uO6.js → WorkspaceMonacoEditor-CxD40rNT.js} +3 -3
- package/dist/web/assets/{arrow-up-right-BDcNd1rt.js → arrow-up-right-DtR75sMi.js} +1 -1
- package/dist/web/assets/{chevron-up-XTMMnfnf.js → chevron-up-DH33C_vT.js} +1 -1
- package/dist/web/assets/{cloud-upload-D6bS8rS2.js → cloud-upload-Cp4pi0X7.js} +1 -1
- package/dist/web/assets/{cssMode-CvN9o8bP.js → cssMode-CJPZShEy.js} +1 -1
- package/dist/web/assets/{folder-open-8C5l7A93.js → folder-open-hEq-0bAV.js} +1 -1
- package/dist/web/assets/{folder-plus-B9Wqb9yd.js → folder-plus-ClgoqsjW.js} +1 -1
- package/dist/web/assets/{git-branch-C45ve7zh.js → git-branch-CLBU2IM9.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-CGoLIyKK.js → git-commit-horizontal-CpOgDvCh.js} +1 -1
- package/dist/web/assets/{htmlMode-DxLP6j5r.js → htmlMode-fp60PdLB.js} +1 -1
- package/dist/web/assets/{index-LrGasYyx.js → index-2rbiOiLR.js} +54 -53
- package/dist/web/assets/index-BWqDWo3b.js +1 -0
- package/dist/web/assets/{info-DTObFlHw.js → info-D3L7JgSo.js} +1 -1
- package/dist/web/assets/{jsonMode-C3_fOSJu.js → jsonMode-9tQDt87U.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-0c-UKStE.js → lspLanguageFeatures-DhOXsUmI.js} +1 -1
- package/dist/web/assets/{monaco.contribution-CF1DgPPC.js → monaco.contribution-BCc7daQX.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Cb7KlQ6G.js → monaco.contribution-BPct5K1-.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Dsug_FPj.js → monaco.contribution-D3sQBkAF.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CFLEc9Ly.js → monaco.contribution-DRNDpuUQ.js} +2 -2
- package/dist/web/assets/{play-Cbsyrwkw.js → play-DUBpqm-k.js} +1 -1
- package/dist/web/assets/{python-DVcVB2lF.js → python-CO5ats2F.js} +1 -1
- package/dist/web/assets/{refresh-cw-ChUK_QfF.js → refresh-cw-D7OfmCic.js} +1 -1
- package/dist/web/assets/{save-Doep-KC7.js → save-CJN-WmnU.js} +1 -1
- package/dist/web/assets/{square-B5q2aneb.js → square-Bx9UTvNe.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-CTZp7RE7.js → toggleHighContrast-7mdj7cLQ.js} +1 -1
- package/dist/web/assets/{tsMode-GfNadOOB.js → tsMode-qx-y8781.js} +1 -1
- package/dist/web/assets/{upload-DcewuCTa.js → upload-Bp6EKIYv.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-BwltnId8.js → useLocalAgentSchedules-CZ1tgG1x.js} +1 -1
- package/dist/web/assets/{wifi-off-cXPyKIzd.js → wifi-off-DovWnIF6.js} +1 -1
- package/dist/web/assets/{workers-CP6kCS63.js → workers-DC-vdMwa.js} +1 -1
- package/dist/web/assets/{yaml-w0GP6yKf.js → yaml-Bu611qJb.js} +1 -1
- package/dist/web/connected-apps/turnkey.svg +3 -0
- package/dist/web/index.html +1 -1
- package/docs/command-reference.md +19 -1
- package/package.json +1 -1
- package/dist/web/assets/UsageSettingsSection-Bdvm66WK.js +0 -59
- package/dist/web/assets/index-BYgrO3wt.js +0 -1
|
@@ -218,6 +218,7 @@ var CONNECTED_APP_PROVIDER_ORDER = [
|
|
|
218
218
|
"slack",
|
|
219
219
|
"google",
|
|
220
220
|
"github",
|
|
221
|
+
"turnkey",
|
|
221
222
|
"x",
|
|
222
223
|
"microsoft_teams",
|
|
223
224
|
"mcp"
|
|
@@ -246,6 +247,11 @@ var CAPABILITIES = {
|
|
|
246
247
|
capability("github.pull_request.read", "Read pull requests", "Read pull request metadata, diffs, checks, and reviews.", "read", true),
|
|
247
248
|
capability("github.pull_request.write", "Update pull requests", "Create approved comments or pull request updates.", "write", true)
|
|
248
249
|
],
|
|
250
|
+
turnkey: [
|
|
251
|
+
capability("turnkey.wallets.read", "Read Agent Wallet", "Read the connected OpenPond Agent Wallet address and metadata.", "read", true),
|
|
252
|
+
capability("turnkey.balances.read", "Read wallet balances", "Read balances for the connected OpenPond Agent Wallet.", "read", true),
|
|
253
|
+
capability("turnkey.activities.read", "Read wallet activity", "Read recent Turnkey activity for the connected OpenPond Agent Wallet.", "read", true)
|
|
254
|
+
],
|
|
249
255
|
x: [
|
|
250
256
|
capability("x.profile.read", "Read profile", "Read the connected X profile.", "read", true),
|
|
251
257
|
capability("x.search.read", "Search X", "Search public X posts when granted.", "read", true),
|
|
@@ -283,6 +289,11 @@ var PROVIDER_OPERATIONS = {
|
|
|
283
289
|
providerOperation("github.pull_request.comment", "write", "Comment on pull request", "Create an explicitly approved pull request comment and return readback verification.", ["github.pull_request.write"], { requiredKeys: ["ref", "body"] }),
|
|
284
290
|
providerOperation("github.pull_request.update", "write", "Update pull request", "Apply an explicitly approved pull request metadata update and return readback verification.", ["github.pull_request.write"], { requiredKeys: ["ref"] })
|
|
285
291
|
],
|
|
292
|
+
turnkey: [
|
|
293
|
+
providerOperation("turnkey.wallets.read", "read", "Read Agent Wallet", "Read the address and metadata for the connected OpenPond Agent Wallet.", ["turnkey.wallets.read"]),
|
|
294
|
+
providerOperation("turnkey.balances.read", "read", "Read wallet balances", "Read supported-network balances for the connected OpenPond Agent Wallet.", ["turnkey.balances.read"]),
|
|
295
|
+
providerOperation("turnkey.activities.read", "read", "Read wallet activity", "Read recent Turnkey activity for the connected OpenPond Agent Wallet.", ["turnkey.activities.read"])
|
|
296
|
+
],
|
|
286
297
|
x: [
|
|
287
298
|
providerOperation("x.profile.read", "read", "Read profile", "Read the connected X account profile.", ["x.profile.read"]),
|
|
288
299
|
providerOperation("x.post.read", "read", "Read post", "Read a public X post by stable ref, status URL, or post id.", ["x.search.read"], { requiredKeys: ["ref"] }),
|
|
@@ -315,6 +326,15 @@ var INTEGRATION_SKILL_BODIES = {
|
|
|
315
326
|
"Do not claim CI, review, branch, or PR state changed until a tool result confirms it.",
|
|
316
327
|
"Keep local workspace git operations separate from connected GitHub operations unless the user explicitly asks to bridge them."
|
|
317
328
|
].join("\n"),
|
|
329
|
+
turnkey: [
|
|
330
|
+
"# Turnkey Agent Wallet Connected App",
|
|
331
|
+
"",
|
|
332
|
+
"Use Turnkey only through server-provided connected app tools. Never ask for, expose, or infer API keys, P-256 credentials, wallet private keys, or lease material.",
|
|
333
|
+
"Use only declared Turnkey read operation ids: turnkey.wallets.read, turnkey.balances.read, and turnkey.activities.read.",
|
|
334
|
+
"Turnkey connected-app access is read-only. Do not claim that a transaction was created, signed, approved, rejected, or sent.",
|
|
335
|
+
"Use turnkey.wallets.read for the Agent Wallet address and metadata, turnkey.balances.read for supported-network balances, and turnkey.activities.read for recent Turnkey activity.",
|
|
336
|
+
"Report the wallet address and network with balance results, and distinguish an empty balance from a failed provider read."
|
|
337
|
+
].join("\n"),
|
|
318
338
|
x: [
|
|
319
339
|
"# X Connected App",
|
|
320
340
|
"",
|
|
@@ -507,6 +527,19 @@ var CATALOG = [
|
|
|
507
527
|
icon: "/connected-apps/x.svg",
|
|
508
528
|
installLabel: "Continue to X details"
|
|
509
529
|
}),
|
|
530
|
+
catalogEntry({
|
|
531
|
+
id: "turnkey",
|
|
532
|
+
providerFamily: "turnkey",
|
|
533
|
+
setupSurface: "wallet_connector",
|
|
534
|
+
statusSource: "integration_connection",
|
|
535
|
+
label: "Turnkey Agent Wallet",
|
|
536
|
+
shortLabel: "Turnkey",
|
|
537
|
+
kind: "wallet",
|
|
538
|
+
category: "Wallet",
|
|
539
|
+
description: "Read your OpenPond Agent Wallet address, balances, and activity through policy-bound Turnkey access.",
|
|
540
|
+
icon: "/connected-apps/turnkey.svg",
|
|
541
|
+
installLabel: "Manage OpenPond wallet"
|
|
542
|
+
}),
|
|
510
543
|
catalogEntry({
|
|
511
544
|
id: "microsoft_teams",
|
|
512
545
|
providerFamily: "microsoft_teams",
|
|
@@ -683,6 +716,8 @@ function setupSurfaceLabel(surface) {
|
|
|
683
716
|
return "Native app";
|
|
684
717
|
if (surface === "oauth_connector")
|
|
685
718
|
return "OAuth connector";
|
|
719
|
+
if (surface === "wallet_connector")
|
|
720
|
+
return "Wallet connector";
|
|
686
721
|
return "MCP endpoint";
|
|
687
722
|
}
|
|
688
723
|
function providerSkills(provider) {
|
|
@@ -699,23 +734,27 @@ function providerTools(provider) {
|
|
|
699
734
|
if (provider === "mcp")
|
|
700
735
|
return [];
|
|
701
736
|
const capabilities = CAPABILITIES[provider];
|
|
737
|
+
const operations = PROVIDER_OPERATIONS[provider];
|
|
702
738
|
const readCapabilityIds = capabilities.filter((capability2) => capability2.access === "read").map((capability2) => capability2.id);
|
|
703
739
|
const writeCapabilityIds = capabilities.filter((capability2) => capability2.access === "write").map((capability2) => capability2.id);
|
|
704
740
|
const tools = [];
|
|
705
|
-
if (
|
|
741
|
+
if (operations.some((operation) => operation.operation === "search")) {
|
|
706
742
|
tools.push({
|
|
707
743
|
name: "connected_app_search",
|
|
708
744
|
description: `Search ${providerFamilyLabel(provider)} through a server-owned connected app connector.`,
|
|
709
745
|
capabilityIds: readCapabilityIds,
|
|
710
746
|
write: false
|
|
711
|
-
}
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
if (operations.some((operation) => operation.operation === "read")) {
|
|
750
|
+
tools.push({
|
|
712
751
|
name: "connected_app_read",
|
|
713
752
|
description: `Read a grounded ${providerFamilyLabel(provider)} object through a server-owned connected app connector.`,
|
|
714
753
|
capabilityIds: readCapabilityIds,
|
|
715
754
|
write: false
|
|
716
755
|
});
|
|
717
756
|
}
|
|
718
|
-
if (writeCapabilityIds.length > 0) {
|
|
757
|
+
if (writeCapabilityIds.length > 0 && operations.some((operation) => operation.operation === "write")) {
|
|
719
758
|
tools.push({
|
|
720
759
|
name: "connected_app_write",
|
|
721
760
|
description: `Perform an explicitly approved ${providerFamilyLabel(provider)} write through a server-owned connected app connector.`,
|
|
@@ -737,7 +776,7 @@ function leasePolicy(provider) {
|
|
|
737
776
|
const leaseable = provider !== "mcp" && capabilities.length > 0;
|
|
738
777
|
return {
|
|
739
778
|
leaseable,
|
|
740
|
-
defaultTtlSeconds: leaseable ? 3600 : null,
|
|
779
|
+
defaultTtlSeconds: leaseable ? provider === "turnkey" ? 300 : 3600 : null,
|
|
741
780
|
allowedCapabilityIds: capabilities,
|
|
742
781
|
requiresProxy: leaseable
|
|
743
782
|
};
|
|
@@ -8025,6 +8064,7 @@ function modelRef() {
|
|
|
8025
8064
|
export {
|
|
8026
8065
|
CONNECTED_APP_PROVIDER_TOOL_NAMES,
|
|
8027
8066
|
CONNECTED_APP_TOOL_CALL_ENDPOINT,
|
|
8067
|
+
CONNECTED_APP_PROVIDER_ORDER,
|
|
8028
8068
|
CONNECTED_APP_INTEGRATION_SKILLS,
|
|
8029
8069
|
connectedAppIntegrationSkillByProvider,
|
|
8030
8070
|
validateConnectedAppToolCallRequest,
|
|
@@ -3,7 +3,7 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
3
3
|
// ../server/src/constants.ts
|
|
4
4
|
var DEFAULT_HOST = "127.0.0.1";
|
|
5
5
|
var DEFAULT_PORT = 17874;
|
|
6
|
-
var VERSION = "0.0.
|
|
6
|
+
var VERSION = "0.0.66";
|
|
7
7
|
var HOSTED_CHAT_SYSTEM_PROMPT = "You are OpenPond Chat. Respond in the user's language. If the user's latest message is language-neutral, ambiguous, or only a short test, respond in English. Be concise and directly answer the latest request. Do not use emojis. Use Markdown when it improves scanability. If you emit reasoning or thinking content, keep it sparse and user-readable: at most one short sentence for major progress, decisions, or blockers. Omit reasoning for routine searches, reads, tool calls, and obvious next steps. Do not restate the user request, narrate every action, or include code blocks, code excerpts, diffs, raw tool payloads, or markdown examples in reasoning. Put necessary code or exact snippets only in the final assistant answer. When the user asks to show or preview an image that is available as a workspace path or signed image URL, use Markdown image syntax like  instead of a bare path or raw HTML. For workspace-backed answers, use a Codex-style shape: brief outcome first, then Changed Files if files changed, then Verification if checks ran. End with a concise final answer that summarizes the result and verification when relevant. Do not mention raw tool JSON, internal repo paths, or origin/remote URLs unless the user explicitly asks for them or they are necessary to explain a git/deploy failure.";
|
|
8
8
|
var APP_PREFERENCES_CACHE_TYPE = "app_preferences";
|
|
9
9
|
var APP_PREFERENCES_CACHE_KEY = "global";
|
|
@@ -399,7 +399,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
399
399
|
name: "help",
|
|
400
400
|
usage: "openpond help",
|
|
401
401
|
optionSchema: {},
|
|
402
|
-
handler: async () => (await import("./help-
|
|
402
|
+
handler: async () => (await import("./help-JFQVVETR.js")).printHelp()
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
name: "version",
|
|
@@ -411,19 +411,24 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
411
411
|
name: "check-update",
|
|
412
412
|
usage: "openpond check-update",
|
|
413
413
|
optionSchema: {},
|
|
414
|
-
handler: async () => (await import("./core-commands-
|
|
414
|
+
handler: async () => (await import("./core-commands-5TW5I3Z6.js")).runCheckUpdate()
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
name: "login",
|
|
418
418
|
usage: "openpond login [--base-url <url>]",
|
|
419
419
|
optionSchema: CLI_GLOBAL_OPTION_SCHEMA,
|
|
420
|
-
handler: async ({ options }) => (await import("./core-commands-
|
|
420
|
+
handler: async ({ options }) => (await import("./core-commands-5TW5I3Z6.js")).runLogin(options)
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
name: "init",
|
|
424
|
-
usage: "openpond init [--path <dir>]",
|
|
425
|
-
optionSchema: {
|
|
426
|
-
|
|
424
|
+
usage: "openpond init [--path <dir>] [--profile <name>] [--template <name>] [--force] [--json]",
|
|
425
|
+
optionSchema: {
|
|
426
|
+
...CLI_GLOBAL_OPTION_SCHEMA,
|
|
427
|
+
force: "boolean",
|
|
428
|
+
path: "string",
|
|
429
|
+
template: "string"
|
|
430
|
+
},
|
|
431
|
+
handler: async ({ options }) => (await import("./profile-2MYIXRUK.js")).runOpenPondInitCommand(options)
|
|
427
432
|
},
|
|
428
433
|
{
|
|
429
434
|
name: "profile",
|
|
@@ -451,13 +456,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
451
456
|
publishHostedSource: "boolean",
|
|
452
457
|
teamId: "string"
|
|
453
458
|
},
|
|
454
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
459
|
+
handler: async ({ options, rest }) => (await import("./profile-2MYIXRUK.js")).runOpenPondProfileCommand(options, rest)
|
|
455
460
|
},
|
|
456
461
|
{
|
|
457
462
|
name: "agents",
|
|
458
463
|
usage: "openpond agents [--json]",
|
|
459
464
|
optionSchema: { json: "boolean" },
|
|
460
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
465
|
+
handler: async ({ options, rest }) => (await import("./profile-2MYIXRUK.js")).runOpenPondAgentsCommand(options, rest)
|
|
461
466
|
},
|
|
462
467
|
{
|
|
463
468
|
name: "actions",
|
|
@@ -490,25 +495,25 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
490
495
|
"openpond extension remove <owner/repo> [--json]"
|
|
491
496
|
],
|
|
492
497
|
optionSchema: { all: "boolean", json: "boolean", ref: "string" },
|
|
493
|
-
handler: async ({ options, rest }) => (await import("./extension-
|
|
498
|
+
handler: async ({ options, rest }) => (await import("./extension-UUM4ELAF.js")).runOpenPondExtensionCommand(options, rest)
|
|
494
499
|
},
|
|
495
500
|
{
|
|
496
501
|
name: "profiles",
|
|
497
502
|
usage: "openpond profiles [args]",
|
|
498
503
|
optionSchema: { json: "boolean" },
|
|
499
|
-
handler: async ({ options, rest }) => (await import("./core-commands-
|
|
504
|
+
handler: async ({ options, rest }) => (await import("./core-commands-5TW5I3Z6.js")).runProfiles(options, rest)
|
|
500
505
|
},
|
|
501
506
|
{
|
|
502
507
|
name: "account",
|
|
503
508
|
usage: "openpond account",
|
|
504
509
|
optionSchema: { json: "boolean" },
|
|
505
|
-
handler: async () => (await import("./core-commands-
|
|
510
|
+
handler: async () => (await import("./core-commands-5TW5I3Z6.js")).runAccount()
|
|
506
511
|
},
|
|
507
512
|
{
|
|
508
513
|
name: "health",
|
|
509
514
|
usage: "openpond health",
|
|
510
515
|
optionSchema: { json: "boolean" },
|
|
511
|
-
handler: async ({ options }) => (await import("./core-commands-
|
|
516
|
+
handler: async ({ options }) => (await import("./core-commands-5TW5I3Z6.js")).runHealth(options)
|
|
512
517
|
},
|
|
513
518
|
{
|
|
514
519
|
name: "app-server",
|
|
@@ -516,7 +521,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
516
521
|
optionSchema: {
|
|
517
522
|
storeDir: "string"
|
|
518
523
|
},
|
|
519
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
524
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MAATABDM.js")).runOpenPondServerCommand("app-server", options, rest)
|
|
520
525
|
},
|
|
521
526
|
{
|
|
522
527
|
name: "serve",
|
|
@@ -527,7 +532,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
527
532
|
listen: "string",
|
|
528
533
|
port: "integer"
|
|
529
534
|
},
|
|
530
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
535
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MAATABDM.js")).runOpenPondServerCommand("serve", options, rest)
|
|
531
536
|
},
|
|
532
537
|
{
|
|
533
538
|
name: "ui",
|
|
@@ -540,7 +545,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
540
545
|
port: "integer",
|
|
541
546
|
webRoot: "string"
|
|
542
547
|
},
|
|
543
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
548
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MAATABDM.js")).runOpenPondServerCommand("web", options, rest)
|
|
544
549
|
},
|
|
545
550
|
{
|
|
546
551
|
name: "tui",
|
|
@@ -554,13 +559,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
554
559
|
provider: "string",
|
|
555
560
|
server: "string"
|
|
556
561
|
},
|
|
557
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
562
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MAATABDM.js")).runOpenPondTerminalCommand(options, rest)
|
|
558
563
|
},
|
|
559
564
|
{
|
|
560
565
|
name: "chat",
|
|
561
566
|
usage: "openpond chat (--message-file <path>|--message <text>|--stdin) --non-interactive [--provider <id>] [--model <id>] [--agent <id>] [--project <id>] [--resume <session-id>] [--yes] [--approval-policy <policy>] [--json] [--timeout-sec <n>] [--max-output-bytes <n>] [--sandbox <mode>]",
|
|
562
567
|
optionSchema: CHAT_OPTION_SCHEMA,
|
|
563
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
568
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MAATABDM.js")).runOpenPondTerminalCommand(options, rest)
|
|
564
569
|
},
|
|
565
570
|
{
|
|
566
571
|
name: "tool",
|
|
@@ -596,7 +601,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
596
601
|
name: "sandbox-template",
|
|
597
602
|
usage: "openpond sandbox-template <command> [args]",
|
|
598
603
|
optionSchema: SANDBOX_TEMPLATE_OPTION_SCHEMA,
|
|
599
|
-
handler: async ({ options, rest }) => (await import("./sandbox-template-
|
|
604
|
+
handler: async ({ options, rest }) => (await import("./sandbox-template-25SKARVM.js")).runSandboxTemplateCommand(options, rest)
|
|
600
605
|
},
|
|
601
606
|
{
|
|
602
607
|
name: "repo",
|
|
@@ -641,13 +646,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
641
646
|
toolset: "string",
|
|
642
647
|
url: "string"
|
|
643
648
|
},
|
|
644
|
-
handler: async ({ options, rest }) => (await import("./organizations-
|
|
649
|
+
handler: async ({ options, rest }) => (await import("./organizations-USWBONDO.js")).runOrganizationsCommand(options, rest)
|
|
645
650
|
},
|
|
646
651
|
{
|
|
647
652
|
name: "project",
|
|
648
653
|
usage: "openpond project <list|create|upsert|get|update|sync|source-upload|archive> [args]",
|
|
649
654
|
optionSchema: PROJECT_OPTION_SCHEMA,
|
|
650
|
-
handler: async ({ options, rest }) => (await import("./project-agent-
|
|
655
|
+
handler: async ({ options, rest }) => (await import("./project-agent-VDKGFG5V.js")).runProjectCommand(options, rest)
|
|
651
656
|
},
|
|
652
657
|
{
|
|
653
658
|
name: "agent",
|
|
@@ -659,7 +664,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
659
664
|
"openpond agent source publish <agentId> --team-id <id> [--expected-manifest-hash <hash>]"
|
|
660
665
|
],
|
|
661
666
|
optionSchema: AGENT_OPTION_SCHEMA,
|
|
662
|
-
handler: async ({ options, rest }) => (await import("./project-agent-
|
|
667
|
+
handler: async ({ options, rest }) => (await import("./project-agent-VDKGFG5V.js")).runAgentCommand(options, rest)
|
|
663
668
|
},
|
|
664
669
|
{
|
|
665
670
|
name: "desktop-test",
|
|
@@ -680,13 +685,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
680
685
|
token: "string",
|
|
681
686
|
tokenFile: "string"
|
|
682
687
|
},
|
|
683
|
-
handler: async ({ options, rest }) => (await import("./desktop-test-
|
|
688
|
+
handler: async ({ options, rest }) => (await import("./desktop-test-JG6XDUTT.js")).runDesktopTestCommand(options, rest)
|
|
684
689
|
},
|
|
685
690
|
{
|
|
686
691
|
name: "sandbox",
|
|
687
692
|
usage: "openpond sandbox <command> [args]",
|
|
688
693
|
optionSchema: SANDBOX_OPTION_SCHEMA,
|
|
689
|
-
handler: async ({ options, rest }) => (await import("./sandbox-command-
|
|
694
|
+
handler: async ({ options, rest }) => (await import("./sandbox-command-M5W3VWVP.js")).runSandboxCommand(options, rest)
|
|
690
695
|
},
|
|
691
696
|
{
|
|
692
697
|
name: "training",
|
|
@@ -734,7 +739,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
734
739
|
skipTool: "boolean",
|
|
735
740
|
stream: "boolean"
|
|
736
741
|
},
|
|
737
|
-
handler: async ({ options, rest }) => (await import("./opchat-
|
|
742
|
+
handler: async ({ options, rest }) => (await import("./opchat-3772JCGJ.js")).runOpChatCommand(options, rest)
|
|
738
743
|
},
|
|
739
744
|
{
|
|
740
745
|
name: "teams-bot",
|
|
@@ -743,7 +748,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
743
748
|
json: "boolean",
|
|
744
749
|
teamId: "string"
|
|
745
750
|
},
|
|
746
|
-
handler: async ({ options, rest }) => (await import("./teams-bot-
|
|
751
|
+
handler: async ({ options, rest }) => (await import("./teams-bot-BJJISVOG.js")).runTeamsBotCommand(options, rest)
|
|
747
752
|
},
|
|
748
753
|
{
|
|
749
754
|
name: "apps",
|
|
@@ -764,7 +769,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
764
769
|
name: "opentool",
|
|
765
770
|
usage: "openpond opentool <init|validate|build> [args]",
|
|
766
771
|
optionSchema: {},
|
|
767
|
-
handler: async ({ rest }) => (await import("./core-commands-
|
|
772
|
+
handler: async ({ rest }) => (await import("./core-commands-5TW5I3Z6.js")).runOpentool(rest)
|
|
768
773
|
}
|
|
769
774
|
];
|
|
770
775
|
var CLI_COMMAND_BY_NAME = /* @__PURE__ */ new Map();
|
|
@@ -836,11 +841,11 @@ function profileSdkAliasDefinitions() {
|
|
|
836
841
|
name,
|
|
837
842
|
usage: `openpond ${name} [args]`,
|
|
838
843
|
optionSchema: PROFILE_SDK_OPTION_SCHEMA,
|
|
839
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
844
|
+
handler: async ({ options, rest }) => (await import("./profile-2MYIXRUK.js")).runOpenPondProfileSdkAlias(name, options, rest)
|
|
840
845
|
}));
|
|
841
846
|
}
|
|
842
847
|
async function runToolCommand({ options, rest }) {
|
|
843
|
-
const { runToolList, runToolRun } = await import("./core-commands-
|
|
848
|
+
const { runToolList, runToolRun } = await import("./core-commands-5TW5I3Z6.js");
|
|
844
849
|
const subcommand = rest[0];
|
|
845
850
|
if (subcommand === "list") {
|
|
846
851
|
const target = rest[1];
|
|
@@ -864,8 +869,8 @@ async function runToolCommand({ options, rest }) {
|
|
|
864
869
|
throw new Error("usage: tool <list|run> <handle>/<repo> [args]");
|
|
865
870
|
}
|
|
866
871
|
async function runBacktestCommand({ options, rest }) {
|
|
867
|
-
const { runBacktestRun } = await import("./core-commands-
|
|
868
|
-
const { runBacktestEvents, runBacktestGet } = await import("./apps-
|
|
872
|
+
const { runBacktestRun } = await import("./core-commands-5TW5I3Z6.js");
|
|
873
|
+
const { runBacktestEvents, runBacktestGet } = await import("./apps-L23POEUT.js");
|
|
869
874
|
const subcommand = rest[0] || "run";
|
|
870
875
|
if (subcommand === "run") {
|
|
871
876
|
const target = rest[1];
|
|
@@ -899,7 +904,7 @@ async function runBacktestCommand({ options, rest }) {
|
|
|
899
904
|
throw new Error("usage: backtest <run|events|get> <handle>/<repo> [args]");
|
|
900
905
|
}
|
|
901
906
|
async function runDeployCommand({ options, rest }) {
|
|
902
|
-
const { runDeployWatch } = await import("./core-commands-
|
|
907
|
+
const { runDeployWatch } = await import("./core-commands-5TW5I3Z6.js");
|
|
903
908
|
const subcommand = rest[0] || "watch";
|
|
904
909
|
if (subcommand !== "watch") {
|
|
905
910
|
throw new Error(
|
|
@@ -915,7 +920,7 @@ async function runDeployCommand({ options, rest }) {
|
|
|
915
920
|
await runDeployWatch(options, target);
|
|
916
921
|
}
|
|
917
922
|
async function runTemplateCommand({ options, rest }) {
|
|
918
|
-
const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-
|
|
923
|
+
const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-5TW5I3Z6.js");
|
|
919
924
|
const subcommand = rest[0] || "status";
|
|
920
925
|
const target = rest[1];
|
|
921
926
|
if (!target) {
|
|
@@ -940,7 +945,7 @@ async function runTemplateCommand({ options, rest }) {
|
|
|
940
945
|
);
|
|
941
946
|
}
|
|
942
947
|
async function runRepoCommand({ options, rest }) {
|
|
943
|
-
const { runRepoCreate, runRepoPush } = await import("./core-commands-
|
|
948
|
+
const { runRepoCreate, runRepoPush } = await import("./core-commands-5TW5I3Z6.js");
|
|
944
949
|
const subcommand = rest[0] || "create";
|
|
945
950
|
if (subcommand === "create") {
|
|
946
951
|
await runRepoCreate(options, rest.slice(1));
|
|
@@ -967,7 +972,7 @@ async function runAppsCommand({ options, rest }) {
|
|
|
967
972
|
runAppsSummary,
|
|
968
973
|
runAppsTools,
|
|
969
974
|
runAppsToolsExecute
|
|
970
|
-
} = await import("./apps-
|
|
975
|
+
} = await import("./apps-L23POEUT.js");
|
|
971
976
|
const subcommand = rest[0];
|
|
972
977
|
if (subcommand === "list") {
|
|
973
978
|
await runAppsList(options);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
now
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TRRJ6Z4L.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
resolveWebLaunchMessages,
|
|
4
4
|
runOpenPondAppServerCli,
|
|
5
5
|
runOpenPondServerCli
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-K37ACPJQ.js";
|
|
7
|
+
import "./chunk-CWCMYSX2.js";
|
|
8
|
+
import "./chunk-TRRJ6Z4L.js";
|
|
9
|
+
import "./chunk-42WUHGKD.js";
|
|
10
|
+
import "./chunk-BPII37IS.js";
|
|
11
|
+
import "./chunk-RN7MVPC6.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
13
13
|
import "./chunk-JGOP4GCK.js";
|
|
14
14
|
import "./chunk-UACZUFIA.js";
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
runTemplateUpdate,
|
|
17
17
|
runToolList,
|
|
18
18
|
runToolRun
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2N57HMVR.js";
|
|
20
20
|
import "./chunk-J2REM7LE.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MHUN6LXO.js";
|
|
22
22
|
import "./chunk-SMNFI2FU.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-XIFRFL4T.js";
|
|
24
24
|
import "./chunk-K4JEWEJQ.js";
|
|
25
25
|
import "./chunk-JGOP4GCK.js";
|
|
26
26
|
import "./chunk-DBHSOTYZ.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
} from "./chunk-J2REM7LE.js";
|
|
5
5
|
import {
|
|
6
6
|
CliUsageError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MHUN6LXO.js";
|
|
8
8
|
import "./chunk-SMNFI2FU.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XIFRFL4T.js";
|
|
10
10
|
import "./chunk-K4JEWEJQ.js";
|
|
11
11
|
import "./chunk-JGOP4GCK.js";
|
|
12
12
|
import "./chunk-DBHSOTYZ.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
SandboxTemplateValidationDiagnosticSchema,
|
|
11
11
|
ToolDeclarationSchema,
|
|
12
12
|
validateConnectedAppToolCallRequest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RN7MVPC6.js";
|
|
14
14
|
import "./chunk-3KLQ52B2.js";
|
|
15
15
|
import "./chunk-W5GKHH77.js";
|
|
16
16
|
import {
|
|
@@ -1664,6 +1664,7 @@ var ConnectedAppToolCallProviderSchema = external_exports.enum([
|
|
|
1664
1664
|
"microsoft_teams",
|
|
1665
1665
|
"github",
|
|
1666
1666
|
"google",
|
|
1667
|
+
"turnkey",
|
|
1667
1668
|
"x",
|
|
1668
1669
|
"mcp"
|
|
1669
1670
|
]);
|
|
@@ -1956,7 +1957,7 @@ var WorkspaceKindSchema = external_exports.enum([
|
|
|
1956
1957
|
"sandbox_template"
|
|
1957
1958
|
]);
|
|
1958
1959
|
var HostedContextProviderSchema = external_exports.enum(["openpond"]);
|
|
1959
|
-
var ContextUsageSourceSchema = external_exports.enum(["provider_usage", "provider_tokenizer", "heuristic"]);
|
|
1960
|
+
var ContextUsageSourceSchema = external_exports.enum(["provider_usage", "provider_tokenizer", "model_family", "heuristic"]);
|
|
1960
1961
|
var ContextUsageSnapshotSchema = external_exports.object({
|
|
1961
1962
|
provider: ChatProviderSchema,
|
|
1962
1963
|
model: external_exports.string().min(1),
|
|
@@ -2889,6 +2890,7 @@ var OpenPondProfileGitStateSchema = external_exports.object({
|
|
|
2889
2890
|
behind: external_exports.number().nullable(),
|
|
2890
2891
|
remoteUrl: external_exports.string().nullable(),
|
|
2891
2892
|
files: external_exports.array(OpenPondProfileGitFileChangeSchema),
|
|
2893
|
+
fileCount: external_exports.number().int().nonnegative().optional(),
|
|
2892
2894
|
error: external_exports.string().nullable()
|
|
2893
2895
|
});
|
|
2894
2896
|
var OpenPondProfileCatalogStateSchema = external_exports.object({
|
|
@@ -2933,7 +2935,8 @@ var OpenPondProfileDiffSummarySchema = external_exports.object({
|
|
|
2933
2935
|
changedExtensions: external_exports.array(external_exports.string()),
|
|
2934
2936
|
setupChanges: external_exports.array(external_exports.string()),
|
|
2935
2937
|
envRequirementChanges: external_exports.array(external_exports.string()),
|
|
2936
|
-
files: external_exports.array(OpenPondProfileGitFileChangeSchema)
|
|
2938
|
+
files: external_exports.array(OpenPondProfileGitFileChangeSchema),
|
|
2939
|
+
fileCount: external_exports.number().int().nonnegative().optional()
|
|
2937
2940
|
});
|
|
2938
2941
|
var OpenPondProfileHostedSourceCheckStatusSchema = external_exports.object({
|
|
2939
2942
|
status: external_exports.string(),
|
|
@@ -3282,6 +3285,10 @@ var ModelUsageSourceSchema = external_exports.enum([
|
|
|
3282
3285
|
"codex_context_usage",
|
|
3283
3286
|
"missing"
|
|
3284
3287
|
]);
|
|
3288
|
+
var ModelUsageCacheTelemetrySourceSchema = external_exports.enum([
|
|
3289
|
+
"provider_usage_body",
|
|
3290
|
+
"provider_response_headers"
|
|
3291
|
+
]);
|
|
3285
3292
|
var ModelUsageRequestKindSchema = external_exports.enum([
|
|
3286
3293
|
"chat_turn",
|
|
3287
3294
|
"tool_loop",
|
|
@@ -3293,6 +3300,14 @@ var ModelUsageRequestKindSchema = external_exports.enum([
|
|
|
3293
3300
|
"codex_context",
|
|
3294
3301
|
"other"
|
|
3295
3302
|
]);
|
|
3303
|
+
var UsageCacheCohortSchema = external_exports.enum([
|
|
3304
|
+
"foreground",
|
|
3305
|
+
"tool_loop",
|
|
3306
|
+
"compaction",
|
|
3307
|
+
"subagent",
|
|
3308
|
+
"refiner",
|
|
3309
|
+
"other"
|
|
3310
|
+
]);
|
|
3296
3311
|
var ModelUsageVisibilitySchema = external_exports.enum([
|
|
3297
3312
|
"user_facing",
|
|
3298
3313
|
"background",
|
|
@@ -3376,6 +3391,10 @@ var ModelUsageRecordSchema = external_exports.object({
|
|
|
3376
3391
|
durationMs: external_exports.number().int().nonnegative().nullable(),
|
|
3377
3392
|
firstTokenMs: external_exports.number().int().nonnegative().nullable(),
|
|
3378
3393
|
promptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3394
|
+
cachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3395
|
+
uncachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3396
|
+
cacheWritePromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3397
|
+
cacheTelemetrySource: ModelUsageCacheTelemetrySourceSchema.nullable(),
|
|
3379
3398
|
completionTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3380
3399
|
totalTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3381
3400
|
errorType: external_exports.string().trim().min(1).max(160).nullable(),
|
|
@@ -3414,6 +3433,14 @@ var UsageRecordsQuerySchema = UsageSummaryQuerySchema.extend({
|
|
|
3414
3433
|
var UsageBreakdownBaseSchema = external_exports.object({
|
|
3415
3434
|
requests: external_exports.number().int().nonnegative(),
|
|
3416
3435
|
promptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3436
|
+
cacheTelemetryRequests: external_exports.number().int().nonnegative(),
|
|
3437
|
+
cacheHitRequests: external_exports.number().int().nonnegative(),
|
|
3438
|
+
cachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3439
|
+
uncachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3440
|
+
cacheWritePromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3441
|
+
cacheHitRate: external_exports.number().min(0).max(1).nullable(),
|
|
3442
|
+
cacheRequestHitRate: external_exports.number().min(0).max(1).nullable(),
|
|
3443
|
+
cacheTelemetryCoverage: external_exports.number().min(0).max(1),
|
|
3417
3444
|
completionTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3418
3445
|
totalTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3419
3446
|
averageLatencyMs: external_exports.number().nonnegative().nullable(),
|
|
@@ -3449,6 +3476,9 @@ var UsageStatusBreakdownSchema = UsageBreakdownBaseSchema.extend({
|
|
|
3449
3476
|
var UsageSourceBreakdownSchema = UsageBreakdownBaseSchema.extend({
|
|
3450
3477
|
source: ModelUsageSourceSchema
|
|
3451
3478
|
});
|
|
3479
|
+
var UsageCacheCohortBreakdownSchema = UsageBreakdownBaseSchema.extend({
|
|
3480
|
+
cohort: UsageCacheCohortSchema
|
|
3481
|
+
});
|
|
3452
3482
|
var UsageDailyBucketSchema = external_exports.object({
|
|
3453
3483
|
date: external_exports.string().trim().min(1),
|
|
3454
3484
|
totalTokens: external_exports.number().int().nonnegative(),
|
|
@@ -3466,6 +3496,14 @@ var UsageTotalsSchema = external_exports.object({
|
|
|
3466
3496
|
failedRequests: external_exports.number().int().nonnegative(),
|
|
3467
3497
|
missingUsageRequests: external_exports.number().int().nonnegative(),
|
|
3468
3498
|
promptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3499
|
+
cacheTelemetryRequests: external_exports.number().int().nonnegative(),
|
|
3500
|
+
cacheHitRequests: external_exports.number().int().nonnegative(),
|
|
3501
|
+
cachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3502
|
+
uncachedPromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3503
|
+
cacheWritePromptTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3504
|
+
cacheHitRate: external_exports.number().min(0).max(1).nullable(),
|
|
3505
|
+
cacheRequestHitRate: external_exports.number().min(0).max(1).nullable(),
|
|
3506
|
+
cacheTelemetryCoverage: external_exports.number().min(0).max(1),
|
|
3469
3507
|
completionTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3470
3508
|
totalTokens: external_exports.number().int().nonnegative().nullable(),
|
|
3471
3509
|
averageLatencyMs: external_exports.number().nonnegative().nullable(),
|
|
@@ -3496,7 +3534,8 @@ var UsageSummaryResponseSchema = external_exports.object({
|
|
|
3496
3534
|
commands: external_exports.array(UsageCommandBreakdownSchema),
|
|
3497
3535
|
routes: external_exports.array(UsageRouteBreakdownSchema),
|
|
3498
3536
|
statuses: external_exports.array(UsageStatusBreakdownSchema),
|
|
3499
|
-
sources: external_exports.array(UsageSourceBreakdownSchema)
|
|
3537
|
+
sources: external_exports.array(UsageSourceBreakdownSchema),
|
|
3538
|
+
cohorts: external_exports.array(UsageCacheCohortBreakdownSchema)
|
|
3500
3539
|
});
|
|
3501
3540
|
var UsageRecordsResponseSchema = external_exports.object({
|
|
3502
3541
|
generatedAt: external_exports.string().trim().min(1),
|
|
@@ -3534,6 +3573,7 @@ var ConnectedAppProviderFamilyIdSchema = external_exports.enum([
|
|
|
3534
3573
|
"microsoft_teams",
|
|
3535
3574
|
"github",
|
|
3536
3575
|
"google",
|
|
3576
|
+
"turnkey",
|
|
3537
3577
|
"x",
|
|
3538
3578
|
"mcp"
|
|
3539
3579
|
]);
|
|
@@ -3542,12 +3582,14 @@ var ConnectedAppIdSchema = external_exports.enum([
|
|
|
3542
3582
|
"microsoft_teams",
|
|
3543
3583
|
"github",
|
|
3544
3584
|
"google",
|
|
3585
|
+
"turnkey",
|
|
3545
3586
|
"x",
|
|
3546
3587
|
"mcp"
|
|
3547
3588
|
]);
|
|
3548
3589
|
var ConnectedAppSetupSurfaceSchema = external_exports.enum([
|
|
3549
3590
|
"native_bot",
|
|
3550
3591
|
"oauth_connector",
|
|
3592
|
+
"wallet_connector",
|
|
3551
3593
|
"mcp_endpoint"
|
|
3552
3594
|
]);
|
|
3553
3595
|
var MentionedConnectedAppRefSchema = external_exports.object({
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ensureApiKey
|
|
12
12
|
} from "./chunk-J2REM7LE.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MHUN6LXO.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveApiBaseUrlOption,
|
|
16
16
|
resolveBaseUrl,
|
|
17
17
|
resolveChatApiBaseUrlOption
|
|
18
18
|
} from "./chunk-SMNFI2FU.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-XIFRFL4T.js";
|
|
20
20
|
import "./chunk-K4JEWEJQ.js";
|
|
21
21
|
import "./chunk-JGOP4GCK.js";
|
|
22
22
|
import {
|