open-tag 0.1.1 → 0.1.2

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/index.d.mts CHANGED
@@ -4188,7 +4188,7 @@ declare namespace external_d_exports {
4188
4188
  export { $brand, $input, $output, BRAND, CompileOptions, GlobalMeta, Infer, IssueData, JSONType, NEVER, $RefinementCtx as RefinementCtx, SafeExtendShape, Schema, TimePrecision, TypeOf, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCompileAsyncError, ZodCompileUnsupportedError, ZodCreditCard, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodErrorMap, ZodExactOptional, ZodFile, ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, ZodFlattenedError, ZodFloat32, ZodFloat64, ZodFormattedError, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInt, ZodInt32, ZodInt64, ZodIntersection, ZodIssue, ZodIssueCode, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPreprocess, ZodPromise, ZodRawShape, ZodReadonly, ZodRealError, ZodRecord, ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, ZodSchema, ZodSet, ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodTypeAny, ZodUInt32, ZodUInt64, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, ZodXor, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _default, _function, any, array, base64, base64url, bigint$1 as bigint, boolean$1 as boolean, _catch as catch, check, cidrv4, cidrv6, clone, codec, coerce_d_exports as coerce, compile, config, index_d_exports$1 as core, creditCard, cuid, cuid2, custom, date$2 as date, decode, decodeAsync, deepPartial, describe, discriminatedUnion, e164, email, emoji, encode, encodeAsync, _endsWith as endsWith, _enum as enum, exactOptional, file, flattenError, float32, float64, formatError, fromJSONSchema, _function as function, getDiscriminatedOption, getErrorMap, globalRegistry, _gt as gt, _gte as gte, guid, hash, hex, hostname, httpUrl, _includes as includes, output$1 as infer, inferFlattenedErrors, inferFormattedError, input, _instanceof as instanceof, int, int32, int64, intersection, invertCodec, ipv4, ipv6, iso_d_exports as iso, json, jwt, keyof, ksuid, lazy, _length as length, literal, index_d_exports$2 as locales, looseObject, looseRecord, _lowercase as lowercase, _lt as lt, _lte as lte, mac, map, _maxLength as maxLength, _maxSize as maxSize, memoizer, meta, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, nan, nanoid, nativeEnum, _negative as negative, never, _nonnegative as nonnegative, nonoptional, _nonpositive as nonpositive, _normalize as normalize, _null as null, nullable, nullish, number$1 as number, object, optional, output, _overwrite as overwrite, parse, parseAsync, partialRecord, pipe, _positive as positive, prefault, preprocess, prettifyError, promise, _properties as properties, _property as property, readonly, record, refine, _regex as regex, regexes_d_exports as regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, _size as size, _slugify as slugify, _startsWith as startsWith, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, toZod, transform, treeifyError, _trim as trim, tuple, uint32, uint64, ulid, _undefined as undefined, union, unknown, _uppercase as uppercase, url, util_d_exports as util, uuid, uuidv4, uuidv6, uuidv7, validate, validateAsync, _void as void, xid, xor };
4189
4189
  }
4190
4190
  //#endregion
4191
- //#region ../../packages/shared/dist/task-BKi0lN9_.d.mts
4191
+ //#region ../../packages/shared/dist/task-CJjpDFO8.d.mts
4192
4192
  declare const AccountComputerSummarySchema: ZodObject<{
4193
4193
  computerId: ZodString;
4194
4194
  kind: ZodOptional<ZodEnum<{
@@ -4767,6 +4767,7 @@ declare const ErrorCodeSchema: ZodEnum<{
4767
4767
  AGENT_SELF_CONFIGURATION_DISABLED: "AGENT_SELF_CONFIGURATION_DISABLED";
4768
4768
  AUTH_CODE_CONSUMED: "AUTH_CODE_CONSUMED";
4769
4769
  AUTH_CODE_EXPIRED: "AUTH_CODE_EXPIRED";
4770
+ AUTH_CODE_PURPOSE_MISMATCH: "AUTH_CODE_PURPOSE_MISMATCH";
4770
4771
  AUTH_DEV_USER_UNAVAILABLE: "AUTH_DEV_USER_UNAVAILABLE";
4771
4772
  AUTH_EMAIL_CONFLICT: "AUTH_EMAIL_CONFLICT";
4772
4773
  AUTH_IDENTITY_CONFLICT: "AUTH_IDENTITY_CONFLICT";
@@ -4776,6 +4777,7 @@ declare const ErrorCodeSchema: ZodEnum<{
4776
4777
  AUTH_PROVIDER_DISABLED: "AUTH_PROVIDER_DISABLED";
4777
4778
  AUTH_USER_MISMATCH: "AUTH_USER_MISMATCH";
4778
4779
  AUTH_USER_SUSPENDED: "AUTH_USER_SUSPENDED";
4780
+ CLOUD_BILLING_UNAVAILABLE: "CLOUD_BILLING_UNAVAILABLE";
4779
4781
  CLOUD_CAPACITY_EXCEEDED: "CLOUD_CAPACITY_EXCEEDED";
4780
4782
  CLOUD_MODEL_NOT_ALLOWED: "CLOUD_MODEL_NOT_ALLOWED";
4781
4783
  CLOUD_MODEL_UNAVAILABLE: "CLOUD_MODEL_UNAVAILABLE";
@@ -6877,6 +6879,256 @@ declare const InstallSkillPresetResponseSchema: ZodObject<{
6877
6879
  }, $strict>;
6878
6880
  }, $strict>;
6879
6881
  type InstallSkillPresetResponse = output$1<typeof InstallSkillPresetResponseSchema>;
6882
+ declare const ProvisionSlackAgentRequestSchema: ZodObject<{
6883
+ code: ZodString;
6884
+ agent: ZodObject<{
6885
+ creationIntentId: ZodNonOptional<ZodOptional<ZodString>>;
6886
+ name: ZodString;
6887
+ displayName: ZodString;
6888
+ runtimeProvider: ZodEnum<{
6889
+ "claude-code": "claude-code";
6890
+ codex: "codex";
6891
+ pi: "pi";
6892
+ }>;
6893
+ runtimeConfig: ZodOptional<ZodObject<{
6894
+ model: ZodOptional<ZodNullable<ZodString>>;
6895
+ reasoningEffort: ZodOptional<ZodNullable<ZodString>>;
6896
+ instructions: ZodOptional<ZodString>;
6897
+ }, $strict>>;
6898
+ }, $strict>;
6899
+ slack: ZodObject<{
6900
+ appId: ZodString;
6901
+ teamId: ZodString;
6902
+ botUserId: ZodString;
6903
+ botAccessToken: ZodString;
6904
+ signingSecret: ZodString;
6905
+ }, $strict>;
6906
+ }, $strict>;
6907
+ declare const ProvisionSlackAgentResponseSchema: ZodObject<{
6908
+ agent: ZodObject<{
6909
+ id: ZodString;
6910
+ name: ZodString;
6911
+ displayName: ZodString;
6912
+ runtimeProvider: ZodEnum<{
6913
+ "claude-code": "claude-code";
6914
+ codex: "codex";
6915
+ pi: "pi";
6916
+ }>;
6917
+ receiveMode: ZodEnum<{
6918
+ all_message: "all_message";
6919
+ mention_only: "mention_only";
6920
+ }>;
6921
+ status: ZodEnum<{
6922
+ active: "active";
6923
+ suspended: "suspended";
6924
+ }>;
6925
+ createdAt: ZodString;
6926
+ updatedAt: ZodString;
6927
+ createdByUserId: ZodString;
6928
+ computerId: ZodNullable<ZodString>;
6929
+ selfConfigurationEnabled: ZodBoolean;
6930
+ revision: ZodNumber;
6931
+ runtimeConfig: ZodObject<{
6932
+ revision: ZodNumber;
6933
+ model: ZodNullable<ZodString>;
6934
+ reasoningEffort: ZodNullable<ZodString>;
6935
+ instructions: ZodString;
6936
+ maxDurationMs: ZodNullable<ZodNumber>;
6937
+ contextTrees: ZodArray<ZodObject<{
6938
+ alias: ZodString;
6939
+ repository: ZodString;
6940
+ }, $strict>>;
6941
+ permissions: ZodObject<{
6942
+ approvalPolicy: ZodDefault<ZodEnum<{
6943
+ never: "never";
6944
+ "on-request": "on-request";
6945
+ }>>;
6946
+ allowCommands: ZodDefault<ZodArray<ZodString>>;
6947
+ }, $strict>;
6948
+ }, $strict>;
6949
+ }, $strict>;
6950
+ slack: ZodObject<{
6951
+ agentDisplayName: ZodString;
6952
+ eventsUrl: ZodString;
6953
+ allowedIntent: ZodNullable<ZodEnum<{
6954
+ create: "create";
6955
+ reauthorize: "reauthorize";
6956
+ }>>;
6957
+ blockedReason: ZodNullable<ZodString>;
6958
+ expectedMessaging: ZodNullable<ZodDiscriminatedUnion<[ZodObject<{
6959
+ kind: ZodLiteral<"unbound">;
6960
+ }, $strict>, ZodObject<{
6961
+ kind: ZodLiteral<"bound">;
6962
+ provider: ZodEnum<{
6963
+ feishu: "feishu";
6964
+ slack: "slack";
6965
+ }>;
6966
+ bindingId: ZodString;
6967
+ credentialGeneration: ZodNumber;
6968
+ }, $strict>], "kind">>;
6969
+ preferredRecovery: ZodEnum<{
6970
+ credentials: "credentials";
6971
+ oauth: "oauth";
6972
+ }>;
6973
+ binding: ZodNullable<ZodObject<{
6974
+ id: ZodString;
6975
+ agentId: ZodString;
6976
+ provider: ZodEnum<{
6977
+ feishu: "feishu";
6978
+ slack: "slack";
6979
+ }>;
6980
+ bindingState: ZodEnum<{
6981
+ active: "active";
6982
+ disabled: "disabled";
6983
+ error: "error";
6984
+ provisioning: "provisioning";
6985
+ reauthorization_required: "reauthorization_required";
6986
+ }>;
6987
+ bot: ZodObject<{
6988
+ displayName: ZodNullable<ZodString>;
6989
+ avatarUrl: ZodNullable<ZodString>;
6990
+ }, $strict>;
6991
+ receiveMode: ZodEnum<{
6992
+ all_message: "all_message";
6993
+ mention_only: "mention_only";
6994
+ }>;
6995
+ lastInboundAt: ZodNullable<ZodString>;
6996
+ lastValidatedAt: ZodNullable<ZodString>;
6997
+ lastRuntimeObservationAt: ZodNullable<ZodString>;
6998
+ identity: ZodDiscriminatedUnion<[ZodObject<{
6999
+ provider: ZodLiteral<"feishu">;
7000
+ appId: ZodString;
7001
+ teamId: ZodNullable<ZodString>;
7002
+ botOpenId: ZodString;
7003
+ teamBrand: ZodNullable<ZodString>;
7004
+ }, $strict>, ZodObject<{
7005
+ provider: ZodLiteral<"slack">;
7006
+ appId: ZodString;
7007
+ teamId: ZodString;
7008
+ enterpriseId: ZodNullable<ZodString>;
7009
+ botUserId: ZodString;
7010
+ appIdEvidence: ZodLiteral<"configured">;
7011
+ }, $strict>], "provider">;
7012
+ credentialGeneration: ZodNumber;
7013
+ grantedCapabilities: ZodArray<ZodString>;
7014
+ reauthorizationRequired: ZodBoolean;
7015
+ lastErrorCode: ZodNullable<ZodString>;
7016
+ }, $strict>>;
7017
+ identityClosure: ZodNullable<ZodObject<{
7018
+ status: ZodEnum<{
7019
+ pending: "pending";
7020
+ verified: "verified";
7021
+ }>;
7022
+ verifiedAt: ZodNullable<ZodString>;
7023
+ }, $strict>>;
7024
+ handoff: ZodNullable<ZodUnion<readonly [ZodObject<{
7025
+ bindingState: ZodLiteral<"active">;
7026
+ handoffReady: ZodLiteral<true>;
7027
+ }, $strict>, ZodObject<{
7028
+ bindingState: ZodLiteral<"active">;
7029
+ handoffReady: ZodLiteral<false>;
7030
+ providerCli: ZodOptional<ZodObject<{
7031
+ phase: ZodEnum<{
7032
+ checking_credentials: "checking_credentials";
7033
+ needs_attention: "needs_attention";
7034
+ preparing_cli: "preparing_cli";
7035
+ }>;
7036
+ reason: ZodOptional<ZodEnum<{
7037
+ credential_rejected: "credential_rejected";
7038
+ global_bin_unavailable: "global_bin_unavailable";
7039
+ identity_mismatch: "identity_mismatch";
7040
+ integrity_failed: "integrity_failed";
7041
+ provider_unreachable: "provider_unreachable";
7042
+ rate_limited: "rate_limited";
7043
+ scope_missing: "scope_missing";
7044
+ unsupported_platform: "unsupported_platform";
7045
+ upgrade_required: "upgrade_required";
7046
+ version_incompatible: "version_incompatible";
7047
+ }>>;
7048
+ }, $strict>>;
7049
+ }, $strict>, ZodObject<{
7050
+ bindingState: ZodEnum<{
7051
+ disabled: "disabled";
7052
+ error: "error";
7053
+ provisioning: "provisioning";
7054
+ reauthorization_required: "reauthorization_required";
7055
+ }>;
7056
+ handoffReady: ZodLiteral<false>;
7057
+ }, $strict>]>>;
7058
+ }, $strict>;
7059
+ interactionsUrl: ZodString;
7060
+ }, $strict>;
7061
+ type ProvisionSlackAgentRequest = output$1<typeof ProvisionSlackAgentRequestSchema>;
7062
+ type ProvisionSlackAgentResponse = output$1<typeof ProvisionSlackAgentResponseSchema>;
7063
+ declare const SlackAutoSetupRuntimeRequestSchema: ZodObject<{
7064
+ type: ZodLiteral<"slack:auto-setup">;
7065
+ requestId: ZodString;
7066
+ computerId: ZodString;
7067
+ agentId: ZodString;
7068
+ input: ZodDiscriminatedUnion<[ZodObject<{
7069
+ action: ZodLiteral<"authorize">;
7070
+ force: ZodOptional<ZodBoolean>;
7071
+ }, $strict>, ZodObject<{
7072
+ action: ZodLiteral<"install">;
7073
+ displayName: ZodString;
7074
+ challenge: ZodOptional<ZodString>;
7075
+ }, $strict>, ZodObject<{
7076
+ action: ZodLiteral<"callbacks">;
7077
+ challenge: ZodOptional<ZodString>;
7078
+ teamId: ZodString;
7079
+ botUserId: ZodString;
7080
+ enterpriseId: ZodNullable<ZodString>;
7081
+ appId: ZodString;
7082
+ eventsUrl: ZodString;
7083
+ interactionsUrl: ZodString;
7084
+ }, $strict>], "action">;
7085
+ }, $strict>;
7086
+ declare const SlackAutoSetupRuntimeResultSchema: ZodObject<{
7087
+ type: ZodLiteral<"slack:auto-setup:result">;
7088
+ requestId: ZodString;
7089
+ result: ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{
7090
+ status: ZodLiteral<"authorization_required">;
7091
+ ticket: ZodString;
7092
+ }, $strict>, ZodObject<{
7093
+ status: ZodLiteral<"authorized">;
7094
+ teamName: ZodString;
7095
+ }, $strict>, ZodObject<{
7096
+ status: ZodLiteral<"connected">;
7097
+ }, $strict>, ZodObject<{
7098
+ status: ZodLiteral<"approval_pending">;
7099
+ appId: ZodString;
7100
+ teamId: ZodString;
7101
+ }, $strict>, ZodObject<{
7102
+ status: ZodLiteral<"failed">;
7103
+ code: ZodEnum<{
7104
+ approval_denied: "approval_denied";
7105
+ authorization_failed: "authorization_failed";
7106
+ busy: "busy";
7107
+ callbacks_failed: "callbacks_failed";
7108
+ capability_missing: "capability_missing";
7109
+ computer_unavailable: "computer_unavailable";
7110
+ create_failed: "create_failed";
7111
+ create_uncertain: "create_uncertain";
7112
+ failed: "failed";
7113
+ install_failed: "install_failed";
7114
+ manual_required: "manual_required";
7115
+ }>;
7116
+ appId: ZodOptional<ZodString>;
7117
+ teamId: ZodOptional<ZodString>;
7118
+ errorCode: ZodOptional<ZodString>;
7119
+ }, $strict>], "status">, ZodObject<{
7120
+ status: ZodLiteral<"installed">;
7121
+ credentials: ZodObject<{
7122
+ appId: ZodString;
7123
+ teamId: ZodString;
7124
+ botUserId: ZodString;
7125
+ botAccessToken: ZodString;
7126
+ signingSecret: ZodString;
7127
+ }, $strict>;
7128
+ }, $strict>]>;
7129
+ }, $strict>;
7130
+ type SlackAutoSetupRuntimeRequest = output$1<typeof SlackAutoSetupRuntimeRequestSchema>;
7131
+ type SlackAutoSetupRuntimeResult = output$1<typeof SlackAutoSetupRuntimeResultSchema>;
6880
7132
  /** The stable high-level class used for operational routing and dashboards. */
6881
7133
  declare const StructuredErrorCategorySchema: ZodEnum<{
6882
7134
  auth: "auth";
@@ -7185,24 +7437,7 @@ declare const RuntimeProviderCliMetadataSchema: ZodDiscriminatedUnion<[ZodObject
7185
7437
  }, $strict>, ZodObject<{
7186
7438
  provider: ZodLiteral<"github">;
7187
7439
  connectionId: ZodString;
7188
- repositories: ZodArray<ZodObject<{
7189
- repositoryId: ZodString;
7190
- fullName: ZodString;
7191
- role: ZodEnum<{
7192
- code: "code";
7193
- context_tree: "context_tree";
7194
- }>;
7195
- access: ZodEnum<{
7196
- read: "read";
7197
- write: "write";
7198
- }>;
7199
- branch: ZodOptional<ZodString>;
7200
- publish: ZodOptional<ZodEnum<{
7201
- direct: "direct";
7202
- pull_request: "pull_request";
7203
- }>>;
7204
- workBranchPrefix: ZodOptional<ZodString>;
7205
- }, $strict>>;
7440
+ authority: ZodLiteral<"user-task">;
7206
7441
  }, $strict>], "provider">;
7207
7442
  type RuntimeProviderCliMetadata = output$1<typeof RuntimeProviderCliMetadataSchema>;
7208
7443
  declare const RuntimeExecutionProviderSchema: ZodDiscriminatedUnion<[ZodObject<{
@@ -7264,24 +7499,7 @@ declare const RuntimeExecutionProviderSchema: ZodDiscriminatedUnion<[ZodObject<{
7264
7499
  cli: ZodObject<{
7265
7500
  provider: ZodLiteral<"github">;
7266
7501
  connectionId: ZodString;
7267
- repositories: ZodArray<ZodObject<{
7268
- repositoryId: ZodString;
7269
- fullName: ZodString;
7270
- role: ZodEnum<{
7271
- code: "code";
7272
- context_tree: "context_tree";
7273
- }>;
7274
- access: ZodEnum<{
7275
- read: "read";
7276
- write: "write";
7277
- }>;
7278
- branch: ZodOptional<ZodString>;
7279
- publish: ZodOptional<ZodEnum<{
7280
- direct: "direct";
7281
- pull_request: "pull_request";
7282
- }>>;
7283
- workBranchPrefix: ZodOptional<ZodString>;
7284
- }, $strict>>;
7502
+ authority: ZodLiteral<"user-task">;
7285
7503
  }, $strict>;
7286
7504
  }, $strict>], "provider">;
7287
7505
  type RuntimeExecutionProvider = output$1<typeof RuntimeExecutionProviderSchema>;
@@ -7350,24 +7568,7 @@ declare const RuntimeExecutionOpenResultSchema: ZodDiscriminatedUnion<[ZodObject
7350
7568
  cli: ZodObject<{
7351
7569
  provider: ZodLiteral<"github">;
7352
7570
  connectionId: ZodString;
7353
- repositories: ZodArray<ZodObject<{
7354
- repositoryId: ZodString;
7355
- fullName: ZodString;
7356
- role: ZodEnum<{
7357
- code: "code";
7358
- context_tree: "context_tree";
7359
- }>;
7360
- access: ZodEnum<{
7361
- read: "read";
7362
- write: "write";
7363
- }>;
7364
- branch: ZodOptional<ZodString>;
7365
- publish: ZodOptional<ZodEnum<{
7366
- direct: "direct";
7367
- pull_request: "pull_request";
7368
- }>>;
7369
- workBranchPrefix: ZodOptional<ZodString>;
7370
- }, $strict>>;
7571
+ authority: ZodLiteral<"user-task">;
7371
7572
  }, $strict>;
7372
7573
  }, $strict>], "provider">>;
7373
7574
  sessionCliProof: ZodOptional<ZodObject<{
@@ -7468,24 +7669,7 @@ declare const RuntimeCredentialResultSchema: ZodDiscriminatedUnion<[ZodObject<{
7468
7669
  }, $strict>, ZodObject<{
7469
7670
  provider: ZodLiteral<"github">;
7470
7671
  connectionId: ZodString;
7471
- repositories: ZodArray<ZodObject<{
7472
- repositoryId: ZodString;
7473
- fullName: ZodString;
7474
- role: ZodEnum<{
7475
- code: "code";
7476
- context_tree: "context_tree";
7477
- }>;
7478
- access: ZodEnum<{
7479
- read: "read";
7480
- write: "write";
7481
- }>;
7482
- branch: ZodOptional<ZodString>;
7483
- publish: ZodOptional<ZodEnum<{
7484
- direct: "direct";
7485
- pull_request: "pull_request";
7486
- }>>;
7487
- workBranchPrefix: ZodOptional<ZodString>;
7488
- }, $strict>>;
7672
+ authority: ZodLiteral<"user-task">;
7489
7673
  }, $strict>], "provider">;
7490
7674
  }, $strict>, ZodObject<{
7491
7675
  type: ZodLiteral<"runtime:credential:result">;
@@ -7581,24 +7765,7 @@ declare const RuntimeCredentialServerFrameSchema: ZodDiscriminatedUnion<[ZodDisc
7581
7765
  cli: ZodObject<{
7582
7766
  provider: ZodLiteral<"github">;
7583
7767
  connectionId: ZodString;
7584
- repositories: ZodArray<ZodObject<{
7585
- repositoryId: ZodString;
7586
- fullName: ZodString;
7587
- role: ZodEnum<{
7588
- code: "code";
7589
- context_tree: "context_tree";
7590
- }>;
7591
- access: ZodEnum<{
7592
- read: "read";
7593
- write: "write";
7594
- }>;
7595
- branch: ZodOptional<ZodString>;
7596
- publish: ZodOptional<ZodEnum<{
7597
- direct: "direct";
7598
- pull_request: "pull_request";
7599
- }>>;
7600
- workBranchPrefix: ZodOptional<ZodString>;
7601
- }, $strict>>;
7768
+ authority: ZodLiteral<"user-task">;
7602
7769
  }, $strict>;
7603
7770
  }, $strict>], "provider">>;
7604
7771
  sessionCliProof: ZodOptional<ZodObject<{
@@ -7697,24 +7864,7 @@ declare const RuntimeCredentialServerFrameSchema: ZodDiscriminatedUnion<[ZodDisc
7697
7864
  }, $strict>, ZodObject<{
7698
7865
  provider: ZodLiteral<"github">;
7699
7866
  connectionId: ZodString;
7700
- repositories: ZodArray<ZodObject<{
7701
- repositoryId: ZodString;
7702
- fullName: ZodString;
7703
- role: ZodEnum<{
7704
- code: "code";
7705
- context_tree: "context_tree";
7706
- }>;
7707
- access: ZodEnum<{
7708
- read: "read";
7709
- write: "write";
7710
- }>;
7711
- branch: ZodOptional<ZodString>;
7712
- publish: ZodOptional<ZodEnum<{
7713
- direct: "direct";
7714
- pull_request: "pull_request";
7715
- }>>;
7716
- workBranchPrefix: ZodOptional<ZodString>;
7717
- }, $strict>>;
7867
+ authority: ZodLiteral<"user-task">;
7718
7868
  }, $strict>], "provider">;
7719
7869
  }, $strict>, ZodObject<{
7720
7870
  type: ZodLiteral<"runtime:credential:result">;
@@ -8015,7 +8165,7 @@ declare const WebToolErrorCodeSchema: ZodEnum<{
8015
8165
  }>;
8016
8166
  type WebToolErrorCode = output$1<typeof WebToolErrorCodeSchema>;
8017
8167
  declare namespace index_d_exports {
8018
- export { ACCOUNT_IDENTITY_FILE_NAME, AGENT_RUNTIME_BINDING_MAX_BYTES, AGENT_RUNTIME_CONTRACT_VERSION, AGENT_RUNTIME_DESCRIPTION_MAX_BYTES, AGENT_RUNTIME_ID_MAX_BYTES, AGENT_RUNTIME_TEXT_MAX_BYTES, AccessTokenLease, AccessTokenProvider, AccountIdentityRotation, AdmissionController, AdmissionDecision, AdmissionLimits, AdmissionPhase, AdmissionReservation, AdmissionSnapshot, AgentAbortRequest, AgentApprovalResponse, AgentHostedToolCall, AgentHostedToolContent, AgentHostedToolDefinition, AgentHostedToolError, AgentHostedToolHandler, AgentHostedToolResult, AgentHostedTools, AgentInput, AgentInputItem, AgentInteractionRequest, AgentInteractionResponse, AgentOutputItem, AgentPromptRequest, AgentProviderError, AgentProviderRunContext, AgentProviderRunEvent, AgentProviderRunResult, AgentQuestionResponse, AgentRunConfiguration, AgentRunError, AgentRunErrorCode, AgentRunId, AgentRunResult, AgentRunStatus, AgentRuntime, AgentRuntimeBinding, AgentRuntimeCapabilities, AgentRuntimeCliInstallation, AgentRuntimeConfigurationOptionsRequest, AgentRuntimeError, AgentRuntimeErrorCode, AgentRuntimeEvent, AgentRuntimeEventSink, AgentRuntimeExecutableDiscoveryError, AgentRuntimeExecutableNotFoundError, AgentRuntimeExecutableSource, AgentRuntimeFactory, AgentRuntimeLifecycleState, AgentRuntimeManifest, AgentRuntimePaths, AgentRuntimePolicy, AgentRuntimeProbeIssue, AgentRuntimeProbeRequest, AgentRuntimeProbeResult, AgentRuntimeProviderRegistration, AgentRuntimeProviderRegistry, AgentRuntimeProviderUnavailableError, AgentRuntimeState, AgentRuntimeWorkspace, AgentSteerRequest, AgentTextInputItem, AgentTextOutputItem, AgentTurnErrorReporter, AgentTurnFailure, AgentTurnRunner, AgentTurnRunnerOptions, AgentUsage, AgentWorkspaceManager, AgentWorkspaceManagerOptions, BaseAgentRuntime, BaseAgentRuntimeOptions, BoundAccountComputerResolution, CLAUDE_CODE_AGENT_RUNTIME_MANIFEST, CLAUDE_CODE_MAX_LINE_BYTES, CLAUDE_CODE_MAX_STDERR_BYTES, CLIENT_ERROR_REPORT_TIMEOUT_MS, CODEX_AGENT_RUNTIME_APP_SERVER_ARGS, CODEX_AGENT_RUNTIME_MANIFEST, CODEX_APP_SERVER_MAX_LINE_BYTES, CODEX_APP_SERVER_MAX_STDERR_BYTES, CODEX_APP_SERVER_REQUEST_TIMEOUT_MS, COMPUTER_IDENTITY_FILE_NAME, CONTEXT_TREE_PACKAGED_SKILL_DIRECTORIES, CREDENTIALS_FILE_NAME, ClaudeCodeAgentRuntime, ClaudeCodeAgentRuntimeFactory, ClaudeCodeAgentRuntimeFactoryOptions, ClaudeCodeProcess, ClaudeCodeProcessClient, ClaudeCodeProcessError, ClaudeCodeProcessResult, ClaudeCodeProcessSpawnOptions, ClaudeCodeSpawnOptions, ClientErrorReportMetadata, ClientLogBindings, ClientLogger, ClientLoggerServiceOptions, ClientRuntime, ClientRuntimeOptions, ClientRuntimeProviderStartError, CloudSandboxCommandOptions, CloudSandboxCredentialBridge, CloudSandboxCredentialBridgeOpenOptions, CodexAgentRuntime, CodexAgentRuntimeFactory, CodexAgentRuntimeFactoryOptions, CodexAppServerClient, CodexAppServerError, CodexAppServerMessage, CodexAppServerProcess, CodexAppServerRequest, CodexProcessSpawnOptions, CodexSpawnOptions, ComposedClientRuntime, ComputerIdentity, ContextTreeExecFile, ContextTreeManager, ContextTreeManagerOptions, ContextTreePackage, ContextTreeStatus, CreateAgentRuntimeRequest, CreateClientRuntimeOptions, CreateLoggerOptions, CustodyResult, DEFAULT_RUNTIME_RETRY_POLICY, DeliveryDecision, DurableFailure, DurableRetryability, DurableWorkKind, DurableWorkRecord, DurableWorkStatus, ExecuteProviderCliTurnPlanOptions, ExpectedSkillBundle, FeishuTokenExchangeError, FileRuntimeDurabilityStore, IgnoredProviderCliCandidate, ImCredentialEnvironmentError, ImCredentialEnvironmentManager, ImCredentialEnvironmentManagerOptions, ImCredentialGrantSubject, ImResourceFetcher, IntegrationCliId, IntegrationCliInstallation, InteractiveCodexAppServerClient, JsonPrimitive, JsonValue, LiveTurnOwner, LocalComputerConfigurationInspection, LocalConfigurationStatus, LocalSessionBinding, MACHINE_CREDENTIALS_FILE_NAME, MAX_PROVIDER_CLI_EXECUTABLE_BYTES, MAX_PROVIDER_CLI_TURN_IDENTITY_BYTES, MAX_PROVIDER_CLI_TURN_PLAN_BYTES, MachineComputerCredential, ManagedContextTreeStatus, ManagedEnvironment, ManagedSessionContext, MemoryRuntimeDurabilityStore, OpenTagApi, OpenTagApiError, OpenTagHomeLayout, PI_AGENT_RUNTIME_MANIFEST, PI_RPC_MAX_LINE_BYTES, PI_RPC_MAX_STDERR_BYTES, PI_RPC_REQUEST_TIMEOUT_MS, PROCESS_ERROR_FLUSH_WAIT_MS, PROCESS_ERROR_REPORT_WAIT_MS, PROVIDER_CLI_CATALOG, PROVIDER_CLI_LOCK_BUSY_MAX_ATTEMPTS, PROVIDER_CLI_LOCK_BUSY_RETRY_DELAY_MS, PROVIDER_CLI_SELECTION_SCHEMA_VERSION, PROVIDER_CLI_TURN_PLAN_SCHEMA_VERSION, PackedSkillDirectory, PiAgentRuntime, PiAgentRuntimeFactory, PiAgentRuntimeFactoryOptions, PiRpcClient, PiRpcError, PiRpcProcess, PiRpcProcessSpawnOptions, PiRpcSpawnOptions, PlatformSource, PreparedImCredentialEnvironment, PreparedRuntimeCredentialEnvironment, PreparedWebToolsLaunch, ProbeAgentRuntimeCliInstallationsOptions, ProbeIntegrationCliInstallationsOptions, ProcessErrorOrigin, ProcessErrorReportingOptions, ProcessErrorTarget, ProtectedWorkCount, ProtectedWorkSnapshot, ProviderCliAccountError, ProviderCliAccountLayout, ProviderCliArchiveError, ProviderCliCandidate, ProviderCliCandidateReport, ProviderCliCatalogArtifact, ProviderCliCatalogEntry, ProviderCliDetectOptions, ProviderCliDetection, ProviderCliDiagnostic, ProviderCliDiagnosticCode, ProviderCliEnsureAction, ProviderCliEnsureOptions, ProviderCliEnsureResult, ProviderCliExecFile, ProviderCliExecutableFormat, ProviderCliFetcher, ProviderCliFileIdentity, ProviderCliGlobalCommandStatus, ProviderCliInspection, ProviderCliInstallError, ProviderCliInstaller, ProviderCliInstallerOptions, ProviderCliLocalState, ProviderCliLockBusyError, ProviderCliManagedInstall, ProviderCliManager, ProviderCliManagerDeps, ProviderCliPhase, ProviderCliPhaseEvent, ProviderCliPhaseRecord, ProviderCliPreparedTurnPlan, ProviderCliProbeContract, ProviderCliProbeOutcome, ProviderCliProvider, ProviderCliReconciler, ProviderCliReconcilerOptions, ProviderCliSelection, ProviderCliSelectionRecord, ProviderCliTrust, ProviderCliTurnLauncherSpec, ProviderCliTurnPlan, ProviderCliTurnPlanCommand, ProviderCliTurnPlanError, ProviderCliTurnPlanErrorCode, ProviderCliTurnPlanManager, ProviderCliTurnPlanManagerDeps, ProviderCliTurnPlanPrepareInput, ProviderCliValidationRequest, ProviderCliValidationRunner, ProviderCliValidationRunnerOptions, ProviderCliWarning, ProviderCliWarningCode, RUNNER_CLI_NAME, RUNNER_IDENTITY_SCHEMA_VERSION, RUNTIME_CREDENTIAL_CAPABILITY, RUNTIME_EXECUTION_MAX_LIFETIME_MS, RUNTIME_PROVIDER_ORIGIN_HEADER, RUNTIME_PROVIDER_PROXY_CAPABILITY, RUNTIME_PROVIDER_PROXY_PATH, RUNTIME_PROXY_ALLOWED_CONNECT_HOSTS, RUNTIME_PROXY_DATA_BINARY_FRAME_MAX_BYTES, RUNTIME_PROXY_DATA_CHUNK_BYTES, RUNTIME_PROXY_DATA_HEADER_MAX_BYTES, RUNTIME_PROXY_DATA_INITIAL_CREDIT_BYTES, RUNTIME_PROXY_DATA_MAX_STREAMS, RUNTIME_PROXY_GIT_HELPER_MARKER, RUNTIME_PROXY_HANDLE_PATH_PREFIX, RUNTIME_PROXY_PROVIDERS, RUNTIME_PROXY_SHIM_MARKER, RUNTIME_PROXY_TICKET_TTL_MS, RUNTIME_WEB_TOOLS_CAPABILITY, ReadBundleBodyOptions, RecordedInput, ReportClientErrorOptions, ResolveAgentRuntimeExecutableOptions, ResolvedAgentRuntimeExecutable, ResolvedClaudeCodeFactoryOptions, ResolvedCodexFactoryOptions, ResolvedPiFactoryOptions, ResumeAgentRuntimeRequest, RuntimeBusinessFrame, RuntimeConnection, RuntimeConnectionError, RuntimeConnectionErrorCategory, RuntimeConnectionOptions, RuntimeConnectionState, RuntimeCredentialEnvironmentManager, RuntimeCredentialEnvironmentManagerOptions, RuntimeCredentialGrant, RuntimeCredentialMode, RuntimeCredentialPrepareSubject, RuntimeCredentialRelay, RuntimeCredentialRelayError, RuntimeCredentialRelayErrorCode, RuntimeCredentialRelayOptions, RuntimeCredentialResult, RuntimeCredentialRevoked, RuntimeCredentialRunSubject, RuntimeCredentialServerFrame, RuntimeDurabilityFailure, RuntimeDurabilityMetrics, RuntimeDurabilityMetricsSnapshot, RuntimeDurabilityStore, RuntimeExecutionOpenRequest, RuntimeExecutionOpenResult, RuntimeExecutionProvider, RuntimeExecutionSandbox, RuntimeExecutionService, RuntimeExecutionSource, RuntimeLocalPolicy, RuntimePreparation, RuntimeProxyAdapterStreamRequest, RuntimeProxyCliMetadata, RuntimeProxyDataConnectInput, RuntimeProxyDataConnection, RuntimeProxyDataConnectionFactory, RuntimeProxyDataConnectionLike, RuntimeProxyDataConnectionOptions, RuntimeProxyDataError, RuntimeProxyDataErrorCode, RuntimeProxyEnvironment, RuntimeProxyEnvironmentInput, RuntimeProxyExecutionLayout, RuntimeProxyLoopbackAdapter, RuntimeProxyLoopbackAdapterOptions, RuntimeProxyLoopbackCaMaterial, RuntimeProxyLoopbackError, RuntimeProxyMaterialStore, RuntimeProxyOpenStreamRequest, RuntimeProxyProvider, RuntimeProxyStreamResponse, RuntimeQueueLimits, RuntimeRelayScheduler, RuntimeRetryPolicy, RuntimeRetryScheduler, RuntimeSendError, RuntimeSendErrorCode, RuntimeSendOptions, RuntimeSendPriority, RuntimeStorageError, SERVER_HEALTH_TIMEOUT_MS, SESSION_BINDING_SCHEMA_VERSION, SESSION_RECORDED_INPUT_LIMIT, SKILL_CONTENT_SIDECAR_FILE, SKILL_PULL_BUNDLE_TIMEOUT_MS, SKILL_SYNC_DEFAULT_BUDGET_MS, ServerHealthConfigurationError, ServerHealthHttpError, ServerHealthNetworkError, ServerHealthResponseError, ServerHealthTimeoutError, ServerRuntimeDurabilityStore, ServerRuntimeDurabilityStoreOptions, SessionActivity, SessionActivityPhase, SessionBindingConflictError, SessionBindingStore, SessionBindingStoreOptions, SessionCliProofManager, SessionMessageInbox, SessionMessageInboxOptions, SessionMessageTurnContext, SessionPreparationResult, SessionProtectedWorkSnapshot, SessionReconciler, SessionReconcilerOptions, SessionRuntimeManager, SessionRuntimeManagerOptions, SessionRuntimeState, SessionTurnIdentity, SkillArchiveError, SkillArchiveErrorCode, SkillDirectoryMarkerInput, SkillSyncAgentInput, SkillSyncApi, SkillSyncManager, SkillSyncManagerOptions, SkillSyncResult, SkillSyncStatus, StoredAccountIdentity, StoredAccountIdentitySchema, StoredCredentials, StoredMachineCredentials, StoredSessionCliProof, TURN_TRACE_BATCH_SOFT_LIMIT_BYTES, TURN_TRACE_MAX_BUFFER_BYTES, TURN_TRACE_MAX_BUFFER_EVENTS, TURN_TRACE_SEND_DEADLINE_MS, TokenProviderOptions, TurnCustodyOwner, TurnCustodyOwnerOptions, TurnReportOwner, TurnReportOwnerOptions, TurnReportOwnerStoppedError, TurnReportRearmClaim, TurnReportSubmitOptions, TurnReportTerminalStatus, TurnTraceBuffer, TurnTraceBufferOptions, TurnTraceSummary, UnresolvedTurn, UnresolvedTurnPhase, UpdateManager, UpdateManagerOptions, UpdaterAttempt, UpdaterRecoveryStatus, UpdaterStateName, UpdaterStateSnapshot, WebGatewayDispatch, WebGatewayDispatchError, WebToolsClientError, WebToolsGatewayServer, WebToolsGatewayServerOptions, WebToolsServerClient, WebToolsServerClientOptions, accountIdentityMatchesCredentials, accountIdentityPath, agentRuntimePaths, allocateComputerIdentity, assembleContextTreeSkills, assertRealDirectory, assertWithin, buildAgentInput, buildClientErrorReport, buildRuntimeProxyEnvironment, buildSessionMessageInput, catalogExecutableDigests, checkServerHealth, classifyLarkAuthStatus, classifySlackAuthTest, classifySpawnFailure, claudeCodeAgentRuntimeEnvironment, claudeCodeProcessEnvironment, codexAgentRuntimeEnvironment, codexDesktopAppBinDirs, computeFileIdentity, computeTargetFingerprint, computerIdentityPath, configureClientLoggerContext, configureClientLoggerForService, copyIsolatedPiConfig, createClientRuntime, createLogger, createProviderCliFetcher, createRunnerIdentity, credentialsFingerprint, credentialsPath, defaultProviderCliExecFile, defaultProviderCliFetcher, defaultRuntimeProxyDataConnectionFactory, defaultRuntimeRetryScheduler, deriveProviderCliHomeNamespace, deriveProviderCliRunKey, deriveProviderCliSessionKey, deriveProviderCliValidationRequestKey, deriveRuntimeKey, describePlatform, detectProviderCliCandidates, ensurePrivateDirectory, exchangeFeishuTenantToken, executableFormatSupportsHost, executeProviderCliTurnPlan, extractBoundedJson, extractProviderCliExecutable, extractSkillArchive, findCatalogArtifact, findProviderCliCatalogEntry, generateExecutionCa, hashSkillDirectory, inspectExecutableFormat, inspectGlobalCommand, inspectLocalComputerConfiguration, inspectProviderCliLauncher, installProcessErrorReporting, isSkillMaterializationTarget, isSyncedWorkspace, iterateAgentRuntimeExecutables, linuxAmd64ProviderCliPlans, machineCredentialsPath, mapProviderCliLocalStateToReadiness, markSkillDirectoryManaged, normalizeServerUrl, packSkillDirectory, parseProviderCliTurnPlan, parseProviderCliTurnRunnerArgv, parseRunnerCliArgv, parseRunnerIdentity, parseRuntimeCredentialServerFrame, piAgentRuntimeEnvironment, prepareContextTreeHome, probeAgentRuntimeCliInstallations, probeIntegrationCliInstallations, probeProviderCliExecutable, probeRunnerTools, providerCliArtifactId, providerCliCommandForProvider, providerCliLauncherPath, providerCliLockFilePath, providerCliProbeEnvironment, providerCliSelectionTargetPath, providerCliStateFilePath, providerCliVersionDirPath, providerReadiness, rankProviderCliCandidates, readAccountIdentity, readBundleBody, readComputerIdentity, readCredentials, readDurableJson, readMachineCredentials, readMachineCredentialsStrict, readPrivateJson, readProviderCliSelection, readProviderCliTurnPlan, readSecureFile, readSessionCliProofFile, reconcileProviderCliLauncher, reconcileProviderCliShim, redactAcceptanceRecord, removeAccountIdentity, renderManagedSystemPrompt, renderProviderCliLauncher, renderProviderCliShim, renderProviderCliTurnLauncher, renderRuntimeProxyGitCredentialHelper, renderRuntimeProxyShim, reportClientError, requireProviderCliCatalogEntry, resolveAccountHome, resolveAgentRuntimeExecutable, resolveBoundAccountComputer, resolveCodexHome, resolveComputerIdentity, resolveContextTreeHome, resolveContextTreePackage, resolveMaterializationWorkspace, resolveOpenTagHome, resolveOpenTagHomeLayout, resolvePiHome, resolveProviderCliAccountLayout, resolveProviderCliArtifactUrl, resolveProviderCliTurnRunnerInvocation, resolveWebToolsExtensionPath, resolvedClaudeCodeFactory, resolvedCodexFactory, resolvedPiFactory, retryDelay, retryExhausted, rotateAccountIdentityFingerprint, runContextTreeCli, runProviderCliTurnRunner, runRunnerAcceptance, runRunnerCli, serializeEnvironment, sessionBindingPath, skillRootForProvider, snapshotPath, storeBoundAccountComputer, validatePrivateDirectory, verifyProviderCliCandidateFingerprint, verifySkillBundle, wellKnownAgentRuntimeBinDirs, withProviderCliLock, writeAccountIdentityAtomically, writeComputerIdentityAtomically, writeCredentialsAtomically, writeDurableFile, writeDurableJson, writeMachineCredentialsAtomically, writePrivateJson, writeProviderCliSelection };
8168
+ export { ACCOUNT_IDENTITY_FILE_NAME, AGENT_RUNTIME_BINDING_MAX_BYTES, AGENT_RUNTIME_CONTRACT_VERSION, AGENT_RUNTIME_DESCRIPTION_MAX_BYTES, AGENT_RUNTIME_ID_MAX_BYTES, AGENT_RUNTIME_TEXT_MAX_BYTES, AccessTokenLease, AccessTokenProvider, AccountIdentityRotation, AdmissionController, AdmissionDecision, AdmissionLimits, AdmissionPhase, AdmissionReservation, AdmissionSnapshot, AgentAbortRequest, AgentApprovalResponse, AgentHostedToolCall, AgentHostedToolContent, AgentHostedToolDefinition, AgentHostedToolError, AgentHostedToolHandler, AgentHostedToolResult, AgentHostedTools, AgentInput, AgentInputItem, AgentInteractionRequest, AgentInteractionResponse, AgentOutputItem, AgentPromptRequest, AgentProviderError, AgentProviderRunContext, AgentProviderRunEvent, AgentProviderRunResult, AgentQuestionResponse, AgentRunConfiguration, AgentRunError, AgentRunErrorCode, AgentRunId, AgentRunResult, AgentRunStatus, AgentRuntime, AgentRuntimeBinding, AgentRuntimeCapabilities, AgentRuntimeCliInstallation, AgentRuntimeConfigurationOptionsRequest, AgentRuntimeError, AgentRuntimeErrorCode, AgentRuntimeEvent, AgentRuntimeEventSink, AgentRuntimeExecutableDiscoveryError, AgentRuntimeExecutableNotFoundError, AgentRuntimeExecutableSource, AgentRuntimeFactory, AgentRuntimeLifecycleState, AgentRuntimeManifest, AgentRuntimePaths, AgentRuntimePolicy, AgentRuntimeProbeIssue, AgentRuntimeProbeRequest, AgentRuntimeProbeResult, AgentRuntimeProviderRegistration, AgentRuntimeProviderRegistry, AgentRuntimeProviderUnavailableError, AgentRuntimeState, AgentRuntimeWorkspace, AgentSteerRequest, AgentTextInputItem, AgentTextOutputItem, AgentTurnErrorReporter, AgentTurnFailure, AgentTurnRunner, AgentTurnRunnerOptions, AgentUsage, AgentWorkspaceManager, AgentWorkspaceManagerOptions, BaseAgentRuntime, BaseAgentRuntimeOptions, BoundAccountComputerResolution, CLAUDE_CODE_AGENT_RUNTIME_MANIFEST, CLAUDE_CODE_MAX_LINE_BYTES, CLAUDE_CODE_MAX_STDERR_BYTES, CLIENT_ERROR_REPORT_TIMEOUT_MS, CODEX_AGENT_RUNTIME_APP_SERVER_ARGS, CODEX_AGENT_RUNTIME_MANIFEST, CODEX_APP_SERVER_MAX_LINE_BYTES, CODEX_APP_SERVER_MAX_STDERR_BYTES, CODEX_APP_SERVER_REQUEST_TIMEOUT_MS, COMPUTER_IDENTITY_FILE_NAME, CONTEXT_TREE_PACKAGED_SKILL_DIRECTORIES, CREDENTIALS_FILE_NAME, ClaudeCodeAgentRuntime, ClaudeCodeAgentRuntimeFactory, ClaudeCodeAgentRuntimeFactoryOptions, ClaudeCodeProcess, ClaudeCodeProcessClient, ClaudeCodeProcessError, ClaudeCodeProcessResult, ClaudeCodeProcessSpawnOptions, ClaudeCodeSpawnOptions, ClientErrorReportMetadata, ClientLogBindings, ClientLogger, ClientLoggerServiceOptions, ClientRuntime, ClientRuntimeOptions, ClientRuntimeProviderStartError, CloudSandboxCommandOptions, CloudSandboxCredentialBridge, CloudSandboxCredentialBridgeOpenOptions, CodexAgentRuntime, CodexAgentRuntimeFactory, CodexAgentRuntimeFactoryOptions, CodexAppServerClient, CodexAppServerError, CodexAppServerMessage, CodexAppServerProcess, CodexAppServerRequest, CodexProcessSpawnOptions, CodexSpawnOptions, ComposedClientRuntime, ComputerIdentity, ContextTreeExecFile, ContextTreeManager, ContextTreeManagerOptions, ContextTreePackage, ContextTreeStatus, CreateAgentRuntimeRequest, CreateClientRuntimeOptions, CreateLoggerOptions, CustodyResult, DEFAULT_RUNTIME_RETRY_POLICY, DeliveryDecision, DurableFailure, DurableRetryability, DurableWorkKind, DurableWorkRecord, DurableWorkStatus, ExecuteProviderCliTurnPlanOptions, ExpectedSkillBundle, FeishuTokenExchangeError, FileRuntimeDurabilityStore, IgnoredProviderCliCandidate, ImCredentialEnvironmentError, ImCredentialEnvironmentManager, ImCredentialEnvironmentManagerOptions, ImCredentialGrantSubject, ImResourceFetcher, IntegrationCliId, IntegrationCliInstallation, InteractiveCodexAppServerClient, JsonPrimitive, JsonValue, LiveTurnOwner, LocalComputerConfigurationInspection, LocalConfigurationStatus, LocalSessionBinding, MACHINE_CREDENTIALS_FILE_NAME, MAX_PROVIDER_CLI_EXECUTABLE_BYTES, MAX_PROVIDER_CLI_TURN_IDENTITY_BYTES, MAX_PROVIDER_CLI_TURN_PLAN_BYTES, MachineComputerCredential, ManagedContextTreeStatus, ManagedEnvironment, ManagedSessionContext, MemoryRuntimeDurabilityStore, OpenTagApi, OpenTagApiError, OpenTagHomeLayout, PI_AGENT_RUNTIME_MANIFEST, PI_RPC_MAX_LINE_BYTES, PI_RPC_MAX_STDERR_BYTES, PI_RPC_REQUEST_TIMEOUT_MS, PROCESS_ERROR_FLUSH_WAIT_MS, PROCESS_ERROR_REPORT_WAIT_MS, PROVIDER_CLI_CATALOG, PROVIDER_CLI_LOCK_BUSY_MAX_ATTEMPTS, PROVIDER_CLI_LOCK_BUSY_RETRY_DELAY_MS, PROVIDER_CLI_SELECTION_SCHEMA_VERSION, PROVIDER_CLI_TURN_PLAN_SCHEMA_VERSION, PackedSkillDirectory, PiAgentRuntime, PiAgentRuntimeFactory, PiAgentRuntimeFactoryOptions, PiRpcClient, PiRpcError, PiRpcProcess, PiRpcProcessSpawnOptions, PiRpcSpawnOptions, PlatformSource, PreparedImCredentialEnvironment, PreparedRuntimeCredentialEnvironment, PreparedWebToolsLaunch, ProbeAgentRuntimeCliInstallationsOptions, ProbeIntegrationCliInstallationsOptions, ProcessErrorOrigin, ProcessErrorReportingOptions, ProcessErrorTarget, ProtectedWorkCount, ProtectedWorkSnapshot, ProviderCliAccountError, ProviderCliAccountLayout, ProviderCliArchiveError, ProviderCliCandidate, ProviderCliCandidateReport, ProviderCliCatalogArtifact, ProviderCliCatalogEntry, ProviderCliDetectOptions, ProviderCliDetection, ProviderCliDiagnostic, ProviderCliDiagnosticCode, ProviderCliEnsureAction, ProviderCliEnsureOptions, ProviderCliEnsureResult, ProviderCliExecFile, ProviderCliExecutableFormat, ProviderCliFetcher, ProviderCliFileIdentity, ProviderCliGlobalCommandStatus, ProviderCliInspection, ProviderCliInstallError, ProviderCliInstaller, ProviderCliInstallerOptions, ProviderCliLocalState, ProviderCliLockBusyError, ProviderCliManagedInstall, ProviderCliManager, ProviderCliManagerDeps, ProviderCliPhase, ProviderCliPhaseEvent, ProviderCliPhaseRecord, ProviderCliPreparedTurnPlan, ProviderCliProbeContract, ProviderCliProbeOutcome, ProviderCliProvider, ProviderCliReconciler, ProviderCliReconcilerOptions, ProviderCliSelection, ProviderCliSelectionRecord, ProviderCliTrust, ProviderCliTurnLauncherSpec, ProviderCliTurnPlan, ProviderCliTurnPlanCommand, ProviderCliTurnPlanError, ProviderCliTurnPlanErrorCode, ProviderCliTurnPlanManager, ProviderCliTurnPlanManagerDeps, ProviderCliTurnPlanPrepareInput, ProviderCliValidationRequest, ProviderCliValidationRunner, ProviderCliValidationRunnerOptions, ProviderCliWarning, ProviderCliWarningCode, RUNNER_CLI_NAME, RUNNER_IDENTITY_SCHEMA_VERSION, RUNTIME_CREDENTIAL_CAPABILITY, RUNTIME_EXECUTION_MAX_LIFETIME_MS, RUNTIME_PROVIDER_ORIGIN_HEADER, RUNTIME_PROVIDER_PROXY_CAPABILITY, RUNTIME_PROVIDER_PROXY_PATH, RUNTIME_PROXY_ALLOWED_CONNECT_HOSTS, RUNTIME_PROXY_DATA_BINARY_FRAME_MAX_BYTES, RUNTIME_PROXY_DATA_CHUNK_BYTES, RUNTIME_PROXY_DATA_HEADER_MAX_BYTES, RUNTIME_PROXY_DATA_INITIAL_CREDIT_BYTES, RUNTIME_PROXY_DATA_MAX_STREAMS, RUNTIME_PROXY_GIT_HELPER_MARKER, RUNTIME_PROXY_HANDLE_PATH_PREFIX, RUNTIME_PROXY_PROVIDERS, RUNTIME_PROXY_SHIM_MARKER, RUNTIME_PROXY_TICKET_TTL_MS, RUNTIME_WEB_TOOLS_CAPABILITY, ReadBundleBodyOptions, RecordedInput, ReportClientErrorOptions, ResolveAgentRuntimeExecutableOptions, ResolvedAgentRuntimeExecutable, ResolvedClaudeCodeFactoryOptions, ResolvedCodexFactoryOptions, ResolvedPiFactoryOptions, ResumeAgentRuntimeRequest, RuntimeBusinessFrame, RuntimeConnection, RuntimeConnectionError, RuntimeConnectionErrorCategory, RuntimeConnectionOptions, RuntimeConnectionState, RuntimeCredentialEnvironmentManager, RuntimeCredentialEnvironmentManagerOptions, RuntimeCredentialGrant, RuntimeCredentialMode, RuntimeCredentialPrepareSubject, RuntimeCredentialRelay, RuntimeCredentialRelayError, RuntimeCredentialRelayErrorCode, RuntimeCredentialRelayOptions, RuntimeCredentialResult, RuntimeCredentialRevoked, RuntimeCredentialRunSubject, RuntimeCredentialServerFrame, RuntimeDurabilityFailure, RuntimeDurabilityMetrics, RuntimeDurabilityMetricsSnapshot, RuntimeDurabilityStore, RuntimeExecutionOpenRequest, RuntimeExecutionOpenResult, RuntimeExecutionProvider, RuntimeExecutionSandbox, RuntimeExecutionService, RuntimeExecutionSource, RuntimeLocalPolicy, RuntimePreparation, RuntimeProxyAdapterStreamRequest, RuntimeProxyCliMetadata, RuntimeProxyDataConnectInput, RuntimeProxyDataConnection, RuntimeProxyDataConnectionFactory, RuntimeProxyDataConnectionLike, RuntimeProxyDataConnectionOptions, RuntimeProxyDataError, RuntimeProxyDataErrorCode, RuntimeProxyEnvironment, RuntimeProxyEnvironmentInput, RuntimeProxyExecutionLayout, RuntimeProxyLoopbackAdapter, RuntimeProxyLoopbackAdapterOptions, RuntimeProxyLoopbackCaMaterial, RuntimeProxyLoopbackError, RuntimeProxyMaterialStore, RuntimeProxyOpenStreamRequest, RuntimeProxyProvider, RuntimeProxyStreamResponse, RuntimeQueueLimits, RuntimeRelayScheduler, RuntimeRetryPolicy, RuntimeRetryScheduler, RuntimeSendError, RuntimeSendErrorCode, RuntimeSendOptions, RuntimeSendPriority, RuntimeStorageError, SERVER_HEALTH_TIMEOUT_MS, SESSION_BINDING_SCHEMA_VERSION, SESSION_RECORDED_INPUT_LIMIT, SKILL_CONTENT_SIDECAR_FILE, SKILL_PULL_BUNDLE_TIMEOUT_MS, SKILL_SYNC_DEFAULT_BUDGET_MS, ServerHealthConfigurationError, ServerHealthHttpError, ServerHealthNetworkError, ServerHealthResponseError, ServerHealthTimeoutError, ServerRuntimeDurabilityStore, ServerRuntimeDurabilityStoreOptions, SessionActivity, SessionActivityPhase, SessionBindingConflictError, SessionBindingStore, SessionBindingStoreOptions, SessionCliProofManager, SessionMessageInbox, SessionMessageInboxOptions, SessionMessageTurnContext, SessionPreparationResult, SessionProtectedWorkSnapshot, SessionReconciler, SessionReconcilerOptions, SessionRuntimeManager, SessionRuntimeManagerOptions, SessionRuntimeState, SessionTurnIdentity, SkillArchiveError, SkillArchiveErrorCode, SkillDirectoryMarkerInput, SkillSyncAgentInput, SkillSyncApi, SkillSyncManager, SkillSyncManagerOptions, SkillSyncResult, SkillSyncStatus, StoredAccountIdentity, StoredAccountIdentitySchema, StoredCredentials, StoredMachineCredentials, StoredSessionCliProof, TURN_TRACE_BATCH_SOFT_LIMIT_BYTES, TURN_TRACE_MAX_BUFFER_BYTES, TURN_TRACE_MAX_BUFFER_EVENTS, TURN_TRACE_SEND_DEADLINE_MS, TokenProviderOptions, TurnCustodyOwner, TurnCustodyOwnerOptions, TurnReportOwner, TurnReportOwnerOptions, TurnReportOwnerStoppedError, TurnReportRearmClaim, TurnReportSubmitOptions, TurnReportTerminalStatus, TurnTraceBuffer, TurnTraceBufferOptions, TurnTraceSummary, UnresolvedTurn, UnresolvedTurnPhase, UpdateManager, UpdateManagerOptions, UpdaterAttempt, UpdaterRecoveryStatus, UpdaterStateName, UpdaterStateSnapshot, WebGatewayDispatch, WebGatewayDispatchError, WebToolsClientError, WebToolsGatewayServer, WebToolsGatewayServerOptions, WebToolsServerClient, WebToolsServerClientOptions, accountIdentityMatchesCredentials, accountIdentityPath, agentRuntimePaths, allocateComputerIdentity, assembleContextTreeSkills, assertRealDirectory, assertWithin, buildAgentInput, buildClientErrorReport, buildRuntimeProxyEnvironment, buildSessionMessageInput, captureSlackDeploy, catalogExecutableDigests, checkServerHealth, classifyLarkAuthStatus, classifySlackAuthTest, classifySpawnFailure, claudeCodeAgentRuntimeEnvironment, claudeCodeProcessEnvironment, codexAgentRuntimeEnvironment, codexDesktopAppBinDirs, computeFileIdentity, computeTargetFingerprint, computerIdentityPath, configureClientLoggerContext, configureClientLoggerForService, copyIsolatedPiConfig, createClientRuntime, createLogger, createProviderCliFetcher, createRunnerIdentity, credentialsFingerprint, credentialsPath, defaultProviderCliExecFile, defaultProviderCliFetcher, defaultRuntimeProxyDataConnectionFactory, defaultRuntimeRetryScheduler, deriveProviderCliHomeNamespace, deriveProviderCliRunKey, deriveProviderCliSessionKey, deriveProviderCliValidationRequestKey, deriveRuntimeKey, describePlatform, detectProviderCliCandidates, ensurePrivateDirectory, exchangeFeishuTenantToken, executableFormatSupportsHost, executeProviderCliTurnPlan, extractBoundedJson, extractProviderCliExecutable, extractSkillArchive, findCatalogArtifact, findProviderCliCatalogEntry, generateExecutionCa, hashSkillDirectory, inspectExecutableFormat, inspectGlobalCommand, inspectLocalComputerConfiguration, inspectProviderCliLauncher, installProcessErrorReporting, isSkillMaterializationTarget, isSyncedWorkspace, iterateAgentRuntimeExecutables, linuxAmd64ProviderCliPlans, machineCredentialsPath, mapProviderCliLocalStateToReadiness, markSkillDirectoryManaged, normalizeServerUrl, packSkillDirectory, parseProviderCliTurnPlan, parseProviderCliTurnRunnerArgv, parseRunnerCliArgv, parseRunnerIdentity, parseRuntimeCredentialServerFrame, piAgentRuntimeEnvironment, prepareContextTreeHome, prepareSlackCallbackUpdate, probeAgentRuntimeCliInstallations, probeIntegrationCliInstallations, probeProviderCliExecutable, probeRunnerTools, providerCliArtifactId, providerCliCommandForProvider, providerCliLauncherPath, providerCliLockFilePath, providerCliProbeEnvironment, providerCliSelectionTargetPath, providerCliStateFilePath, providerCliVersionDirPath, providerReadiness, rankProviderCliCandidates, readAccountIdentity, readBundleBody, readComputerIdentity, readCredentials, readDurableJson, readMachineCredentials, readMachineCredentialsStrict, readPrivateJson, readProviderCliSelection, readProviderCliTurnPlan, readSecureFile, readSessionCliProofFile, reconcileProviderCliLauncher, reconcileProviderCliShim, redactAcceptanceRecord, removeAccountIdentity, renderManagedSystemPrompt, renderProviderCliLauncher, renderProviderCliShim, renderProviderCliTurnLauncher, renderRuntimeProxyGitCredentialHelper, renderRuntimeProxyShim, reportClientError, requireProviderCliCatalogEntry, resolveAccountHome, resolveAgentRuntimeExecutable, resolveBoundAccountComputer, resolveCodexHome, resolveComputerIdentity, resolveContextTreeHome, resolveContextTreePackage, resolveMaterializationWorkspace, resolveOpenTagHome, resolveOpenTagHomeLayout, resolvePiHome, resolveProviderCliAccountLayout, resolveProviderCliArtifactUrl, resolveProviderCliTurnRunnerInvocation, resolveWebToolsExtensionPath, resolvedClaudeCodeFactory, resolvedCodexFactory, resolvedPiFactory, retryDelay, retryExhausted, rotateAccountIdentityFingerprint, runContextTreeCli, runProviderCliTurnRunner, runRunnerAcceptance, runRunnerCli, runSlackManagement, serializeEnvironment, sessionBindingPath, skillRootForProvider, slackManagementEnvironment, slackManagementHome, snapshotPath, storeBoundAccountComputer, validatePrivateDirectory, verifyProviderCliCandidateFingerprint, verifySkillBundle, wellKnownAgentRuntimeBinDirs, withProviderCliLock, writeAccountIdentityAtomically, writeComputerIdentityAtomically, writeCredentialsAtomically, writeDurableFile, writeDurableJson, writeMachineCredentialsAtomically, writePrivateJson, writeProviderCliSelection };
8019
8169
  }
8020
8170
  //#region src/agent-runtime/types.d.ts
8021
8171
  declare const AGENT_RUNTIME_CONTRACT_VERSION = 2;
@@ -8062,6 +8212,8 @@ interface AgentRunConfiguration {
8062
8212
  readonly provider?: JsonValue;
8063
8213
  }
8064
8214
  interface AgentPromptRequest {
8215
+ /** Exact sockets from trusted execution preparation; never model-supplied or persisted. */
8216
+ readonly allowedUnixSockets?: readonly string[];
8065
8217
  readonly runId: AgentRunId;
8066
8218
  readonly input: AgentInput;
8067
8219
  readonly configuration?: AgentRunConfiguration;
@@ -8460,8 +8612,12 @@ declare class OpenTagApi {
8460
8612
  }, options?: RequestOptions): Promise<Response>;
8461
8613
  listRuntimeDurableWork(machineToken: string, kind: RuntimeDurableWorkKind, options?: RequestOptions): Promise<RuntimeDurableWorkRecord[]>;
8462
8614
  writeRuntimeDurableWork(machineToken: string, record: RuntimeDurableWorkRecord, options?: RequestOptions): Promise<void>;
8463
- createInternalSession(proof: string, input: SessionCliCreateRequest, options?: RequestOptions): Promise<SessionCliCommandResponse>;
8464
- sendSessionMessage(proof: string, input: SessionCliSendRequest, options?: RequestOptions): Promise<SessionCliCommandResponse>;
8615
+ createInternalSession(proof: string, input: SessionCliCreateRequest, options?: RequestOptions & {
8616
+ executionId?: string;
8617
+ }): Promise<SessionCliCommandResponse>;
8618
+ sendSessionMessage(proof: string, input: SessionCliSendRequest, options?: RequestOptions & {
8619
+ executionId?: string;
8620
+ }): Promise<SessionCliCommandResponse>;
8465
8621
  listInternalSessions(proof: string, input: SessionCliListQuery, options?: RequestOptions): Promise<SessionCliListResponse>;
8466
8622
  listAgentSkills(accessToken: string, agentId: string, options?: RequestOptions): Promise<ListAgentSkillsResponse>;
8467
8623
  getAgentSkill(accessToken: string, agentId: string, skillId: string, options?: RequestOptions): Promise<SkillDetail>;
@@ -8482,17 +8638,24 @@ declare class OpenTagApi {
8482
8638
  installRuntimeSkillPreset(proof: string, presetName: string, options?: RequestOptions): Promise<InstallSkillPresetResponse>;
8483
8639
  getRuntimeAgentConfig(proof: string, options?: RequestOptions): Promise<AgentAdminConfig>;
8484
8640
  updateRuntimeAgentConfig(proof: string, input: UpdateSelfAgentRequest, options?: RequestOptions): Promise<AgentAdminConfig>;
8485
- createRuntimeAgentSchedule(proof: string, input: CreateAgentScheduleRequest, options?: RequestOptions): Promise<AgentSchedule>;
8641
+ createRuntimeAgentSchedule(proof: string, input: CreateAgentScheduleRequest, options?: RequestOptions & {
8642
+ executionId?: string;
8643
+ }): Promise<AgentSchedule>;
8486
8644
  listRuntimeAgentSchedules(proof: string, query?: {
8487
8645
  limit?: number;
8488
8646
  cursor?: string;
8489
8647
  }, options?: RequestOptions): Promise<AgentScheduleListResponse>;
8490
8648
  getRuntimeAgentSchedule(proof: string, scheduleId: string, options?: RequestOptions): Promise<AgentSchedule>;
8491
- updateRuntimeAgentSchedule(proof: string, scheduleId: string, input: UpdateAgentScheduleRequest, options?: RequestOptions): Promise<AgentSchedule>;
8649
+ updateRuntimeAgentSchedule(proof: string, scheduleId: string, input: UpdateAgentScheduleRequest, options?: RequestOptions & {
8650
+ executionId?: string;
8651
+ }): Promise<AgentSchedule>;
8492
8652
  pauseRuntimeAgentSchedule(proof: string, scheduleId: string, expectedRevision: number, options?: RequestOptions): Promise<AgentSchedule>;
8493
- resumeRuntimeAgentSchedule(proof: string, scheduleId: string, expectedRevision: number, options?: RequestOptions): Promise<AgentSchedule>;
8653
+ resumeRuntimeAgentSchedule(proof: string, scheduleId: string, expectedRevision: number, options?: RequestOptions & {
8654
+ executionId?: string;
8655
+ }): Promise<AgentSchedule>;
8494
8656
  deleteRuntimeAgentSchedule(proof: string, scheduleId: string, expectedRevision: number, options?: RequestOptions): Promise<void>;
8495
8657
  previewRuntimeAgentSchedule(proof: string, input: PreviewAgentScheduleRequest, options?: RequestOptions): Promise<AgentSchedulePreview>;
8658
+ provisionSlackAgent(proof: string, input: ProvisionSlackAgentRequest, options?: RequestOptions): Promise<ProvisionSlackAgentResponse>;
8496
8659
  listRuntimeAgentMcpServers(proof: string, options?: RequestOptions): Promise<ListAgentMCPServersResponse>;
8497
8660
  listRuntimeAgentAvailableMcpServers(proof: string, options?: RequestOptions): Promise<ListAvailableMCPServersResponse>;
8498
8661
  attachRuntimeAgentMcpServer(proof: string, input: AttachMCPServerRequest, options?: RequestOptions): Promise<MCPAgentServer>;
@@ -8791,10 +8954,11 @@ declare function parseRuntimeCredentialServerFrame(value: unknown): RuntimeCrede
8791
8954
  //#endregion
8792
8955
  //#region src/runtime/runtime-proxy-data-client.d.ts
8793
8956
  type RuntimeProxyDataErrorCode = "aborted" | "auth_failed" | "connection_lost" | "connection_closed" | "open_timeout" | "protocol_error" | "queue_full" | "stream_error" | "too_many_streams";
8794
- /** Controlled data-channel failure. `code` identifies the local cause; upstream codes stay in `message`. */
8957
+ /** Controlled data-channel failure. `code` identifies the local cause; upstream codes are carried separately and must be allowlisted before presentation. */
8795
8958
  declare class RuntimeProxyDataError extends Error {
8796
8959
  readonly code: RuntimeProxyDataErrorCode;
8797
- constructor(code: RuntimeProxyDataErrorCode, message: string, options?: ErrorOptions);
8960
+ readonly upstreamCode?: string | undefined;
8961
+ constructor(code: RuntimeProxyDataErrorCode, message: string, options?: ErrorOptions, upstreamCode?: string | undefined);
8798
8962
  }
8799
8963
  interface RuntimeProxyOpenStreamRequest {
8800
8964
  readonly bindingId: string;
@@ -9027,6 +9191,8 @@ interface RuntimeProxyAdapterStreamRequest {
9027
9191
  interface RuntimeProxyLoopbackAdapterOptions {
9028
9192
  /** The single execution this dedicated entry serves. */
9029
9193
  readonly executionId: string;
9194
+ /** Local native gh can use private IPC; Cloud keeps its existing sandbox CONNECT bridge. */
9195
+ readonly githubApiSocket?: boolean;
9030
9196
  readonly generateCa?: (materialDir: string) => Promise<RuntimeProxyLoopbackCaMaterial>;
9031
9197
  /**
9032
9198
  * Execution-local handles held by the Sandbox. Used only to substitute the harmless
@@ -9057,6 +9223,10 @@ declare class RuntimeProxyLoopbackAdapter {
9057
9223
  get connectProxyUrl(): string;
9058
9224
  /** Loopback HTTPS endpoint the Slack launcher pins through `--apihost`. */
9059
9225
  get slackApiHost(): string;
9226
+ /** Private authenticated IPC transport for Local native gh; Cloud uses its sandbox bridge. */
9227
+ get githubApiSocketPath(): string | undefined;
9228
+ /** Native Git's private HTTP IPC entry; the same handle/Relay/Server checks still apply. */
9229
+ get githubGitSocketPath(): string | undefined;
9060
9230
  /** Execution-scoped CA public certificate path for CLI trust configuration. */
9061
9231
  get caCertPath(): string;
9062
9232
  get executionId(): string;
@@ -9225,6 +9395,17 @@ interface ProcessErrorReportingOptions {
9225
9395
  */
9226
9396
  declare function installProcessErrorReporting(options: ProcessErrorReportingOptions): () => void;
9227
9397
  //#endregion
9398
+ //#region src/providers/claude-code/credential-probe.d.ts
9399
+ interface EnvironmentCredential {
9400
+ token: string;
9401
+ header: string;
9402
+ oauth: boolean;
9403
+ apiKey?: string;
9404
+ }
9405
+ /** Verify explicit first-party credentials without a model request or touching native login storage. */
9406
+ declare function probeClaudeEnvironmentCredential(environment: NodeJS.ProcessEnv, signal?: AbortSignal, readStatus?: typeof requestCredentialStatus): Promise<AgentRuntimeProbeIssue | undefined>;
9407
+ declare function requestCredentialStatus(environment: NodeJS.ProcessEnv, credential: EnvironmentCredential, signal?: AbortSignal): Promise<number>;
9408
+ //#endregion
9228
9409
  //#region src/providers/claude-code/hosted-tool-bridge.d.ts
9229
9410
  /** The remote MCP gateway for this execution; both fields are opaque to this module. */
9230
9411
  interface ClaudeCodeMcpGatewayEndpoint {
@@ -9306,8 +9487,10 @@ interface ClaudeCodeAgentRuntimeFactoryOptions {
9306
9487
  readonly createProcess?: (cwd: string, args: readonly string[], environment?: Readonly<Record<string, string>>) => ClaudeCodeProcessClient;
9307
9488
  readonly createSessionId?: () => string;
9308
9489
  readonly startHostedToolBridge?: typeof startClaudeCodeHostedToolBridge;
9490
+ readonly verifyCredential?: typeof probeClaudeEnvironmentCredential;
9309
9491
  readonly probeRunner?: (signal?: AbortSignal) => Promise<{
9310
9492
  readonly credential: boolean;
9493
+ readonly credentialIssue?: AgentRuntimeProbeIssue;
9311
9494
  readonly streamJson: boolean;
9312
9495
  readonly version: string;
9313
9496
  }>;
@@ -9420,7 +9603,7 @@ declare class CodexAppServerProcess implements InteractiveCodexAppServerClient {
9420
9603
  }
9421
9604
  //#endregion
9422
9605
  //#region src/providers/codex/agent-runtime.d.ts
9423
- declare const CODEX_AGENT_RUNTIME_APP_SERVER_ARGS: readonly ["app-server", "--stdio", "--disable", "apps", "--disable", "auth_elicitation", "--disable", "browser_use", "--disable", "browser_use_external", "--disable", "browser_use_full_cdp_access", "--disable", "computer_use", "--disable", "goals", "--disable", "hooks", "--disable", "image_generation", "--disable", "in_app_browser", "--disable", "multi_agent", "--disable", "plugins", "--disable", "remote_plugin", "--disable", "shell_snapshot", "--disable", "skill_mcp_dependency_install", "-c", "mcp_servers={}", "-c", 'web_search="disabled"', "-c", "tools.view_image=true", "-c", "memories.use_memories=false", "-c", "memories.generate_memories=false", "-c", "allow_login_shell=false", "-c", 'shell_environment_policy.inherit="all"', "-c", 'shell_environment_policy.filters={ PATH = "include", ZDOTDIR = "include", LANG = "include", LC_ALL = "include", OPENTAG_HOME = "include", OPENTAG_PROVIDER_ENV_FILE = "include", OPENTAG_SESSION_PROOF_FILE = "include" }'];
9606
+ declare const CODEX_AGENT_RUNTIME_APP_SERVER_ARGS: readonly ["app-server", "--stdio", "--disable", "apps", "--disable", "auth_elicitation", "--disable", "browser_use", "--disable", "browser_use_external", "--disable", "browser_use_full_cdp_access", "--disable", "computer_use", "--disable", "goals", "--disable", "hooks", "--disable", "image_generation", "--disable", "in_app_browser", "--disable", "multi_agent", "--disable", "plugins", "--disable", "remote_plugin", "--disable", "shell_snapshot", "--disable", "skill_mcp_dependency_install", "-c", "mcp_servers={}", "-c", 'web_search="disabled"', "-c", "tools.view_image=true", "-c", "memories.use_memories=false", "-c", "memories.generate_memories=false", "-c", "allow_login_shell=false", "-c", 'shell_environment_policy.inherit="all"', "-c", 'shell_environment_policy.filters={ PATH = "include", ZDOTDIR = "include", LANG = "include", LC_ALL = "include", OPENTAG_HOME = "include", OPENTAG_PROVIDER_ENV_FILE = "include", OPENTAG_SESSION_PROOF_FILE = "include", OPENTAG_EXECUTION_ID = "include" }'];
9424
9607
  declare const CODEX_AGENT_RUNTIME_MANIFEST: AgentRuntimeManifest;
9425
9608
  interface CodexRuntimeOptions {
9426
9609
  readonly client: InteractiveCodexAppServerClient;
@@ -10405,6 +10588,7 @@ interface RuntimeProxyExecutionLayout {
10405
10588
  }
10406
10589
  interface RuntimeProxyEnvironmentInput {
10407
10590
  readonly adapterCaCertPath: string;
10591
+ readonly executionId?: string;
10408
10592
  readonly cliMetadata: (provider: RuntimeProxyProvider) => RuntimeProxyCliMetadata | undefined;
10409
10593
  readonly connectProxyUrl: string;
10410
10594
  readonly handles: ReadonlyMap<RuntimeProxyProvider, string>;
@@ -10418,7 +10602,7 @@ interface RuntimeProxyEnvironmentInput {
10418
10602
  * GitHub target resolution stays with cwd, `-R`, and the canonical remote path.
10419
10603
  */
10420
10604
  declare function buildRuntimeProxyEnvironment(input: RuntimeProxyEnvironmentInput): RuntimeProxyEnvironment;
10421
- declare function renderRuntimeProxyGitCredentialHelper(handle: string): string;
10605
+ declare function renderRuntimeProxyGitCredentialHelper(handle: string, privateHttp?: boolean): string;
10422
10606
  declare function renderRuntimeProxyShim(binary: string, environmentFilePath: string): string;
10423
10607
  /**
10424
10608
  * Per-Session proxy material store. The stable env file/manifest/shims point at the
@@ -10446,6 +10630,8 @@ declare class RuntimeProxyMaterialStore {
10446
10630
  readonly environment: RuntimeProxyEnvironment;
10447
10631
  readonly executionId: string;
10448
10632
  readonly handles: ReadonlyMap<RuntimeProxyProvider, string>;
10633
+ readonly githubApiSocketPath?: string;
10634
+ readonly githubGitSocketPath?: string;
10449
10635
  readonly platform: NodeJS.Platform;
10450
10636
  readonly sessionId: string;
10451
10637
  }): Promise<RuntimeProxyExecutionLayout>;
@@ -10507,6 +10693,8 @@ interface PreparedMcpGatewayLaunch {
10507
10693
  readonly token: string;
10508
10694
  }
10509
10695
  interface PreparedRuntimeCredentialEnvironment {
10696
+ /** Local-only exact proxy socket for this execution. Cloud uses its mounted bridge. */
10697
+ readonly allowedUnixSockets?: readonly string[];
10510
10698
  /** Present in proxy mode; exact-execution cleanup token. */
10511
10699
  readonly executionId?: string;
10512
10700
  /** Execution environment manifest merged by the Turn launcher. */
@@ -11088,6 +11276,9 @@ interface DeliveryDecision {
11088
11276
  }
11089
11277
  interface ClientRuntimeOptions {
11090
11278
  handleApproval?(request: RuntimeApprovalDecision): Promise<RuntimeApprovalResult>;
11279
+ slackAutoSetup?: {
11280
+ run(request: SlackAutoSetupRuntimeRequest, signal?: AbortSignal): Promise<SlackAutoSetupRuntimeResult["result"]>;
11281
+ };
11091
11282
  contextTreeSettings?: {
11092
11283
  run(frame: ContextTreeOperationFrame): Promise<ContextTreeOperationResponse>;
11093
11284
  close?(): void;
@@ -11650,6 +11841,8 @@ interface CreateClientRuntimeOptions {
11650
11841
  readonly piCommand?: string;
11651
11842
  readonly piHome?: string;
11652
11843
  readonly cliCommand?: string;
11844
+ /** Authoritative packaged CLI entry for the Slack deployment hook; absent embeddings use manual setup. */
11845
+ readonly slackAutoSetupCliEntry?: string;
11653
11846
  readonly environment?: NodeJS.ProcessEnv;
11654
11847
  readonly factory?: AgentRuntimeFactory;
11655
11848
  readonly factories?: readonly AgentRuntimeFactory[];
@@ -12599,6 +12792,36 @@ interface ReadBundleBodyOptions {
12599
12792
  }
12600
12793
  declare function readBundleBody(response: Response, options: ReadBundleBodyOptions): Promise<Uint8Array>;
12601
12794
  //#endregion
12795
+ //#region src/slack-management.d.ts
12796
+ declare function slackManagementHome(environment?: NodeJS.ProcessEnv): string;
12797
+ declare function slackManagementEnvironment(environment: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
12798
+ declare function runSlackManagement(args: string[], options?: {
12799
+ outputFile?: string;
12800
+ projectDir?: string;
12801
+ team?: string;
12802
+ environment?: NodeJS.ProcessEnv;
12803
+ binary?: string;
12804
+ accountHome?: string;
12805
+ signal?: AbortSignal;
12806
+ errorFile?: string;
12807
+ nonInteractive?: boolean;
12808
+ requestAppApproval?: boolean;
12809
+ }): Promise<number>;
12810
+ /** Prepare only the callback update from a successful CLI result and the current remote manifest. */
12811
+ declare function prepareSlackCallbackUpdate(options: {
12812
+ manifestFile: string;
12813
+ provisionResultFile: string;
12814
+ outputFile: string;
12815
+ environment?: NodeJS.ProcessEnv;
12816
+ }): Promise<void>;
12817
+ /** Called only by the official deploy hook; writes the complete material without logging it. */
12818
+ declare function captureSlackDeploy(options: {
12819
+ createResponseFile: string;
12820
+ outputFile: string;
12821
+ environment?: NodeJS.ProcessEnv;
12822
+ fetchImpl?: typeof fetch;
12823
+ }): Promise<void>;
12824
+ //#endregion
12602
12825
  //#region src/storage/context-tree-home.d.ts
12603
12826
  /** Account storage shared with the standalone Context Tree CLI, independent of OPENTAG_HOME. */
12604
12827
  declare function resolveContextTreeHome(environment?: NodeJS.ProcessEnv): {