dsh-remote-cluster 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -8
- package/cordis.patch.yml +2 -0
- package/lib/client.js +1520 -2613
- package/lib/contracts.d.ts +84 -389
- package/lib/host/artifacts.d.ts +0 -1
- package/lib/host/artifacts.js +4 -4
- package/lib/host/helper.js +19 -4
- package/lib/host/notification-state.d.ts +2 -2
- package/lib/host/notification-state.js +4 -2
- package/lib/host/notifications.d.ts +4 -2
- package/lib/host/notifications.js +14 -4
- package/lib/host/plugin-upgrade.d.ts +2 -2
- package/lib/host/plugin-upgrade.js +3 -3
- package/lib/host/policy.d.ts +1 -6
- package/lib/host/policy.js +6 -21
- package/lib/host/runtime.d.ts +3 -3
- package/lib/host/runtime.js +16 -17
- package/lib/host/trust-stream.js +4 -4
- package/lib/index.js +1004 -1958
- package/lib/remote-web/assets/{b7f316f5fb0833db75e64ce8b7175fed9f7c183ecde8cbefeed176d486bed045.js → 0084c52f62a385e6094e5dfa889de8c7099e915b1ef0c5119c91745ac29ea890.js} +24 -24
- package/lib/remote-web/assets/{d21d232ead8f68e0e469830b95f6453508ed06591fd6cdb5f0b01f3ea61c24c7.js → 02ea64b75b5ebef3caa1dc974cc4e1e4e524c9cddaf60fd88f058f483bce03be.js} +100 -100
- package/lib/remote-web/assets/{098bde291652f9081cfecf174e69dba72fdf314d723e9e5c3e3b8ef492ef060c.js → 08034715255f7a5edb4b26ddedbad14f7972f25bb1ce9fb3e8740c66bb9ad956.js} +1 -1
- package/lib/remote-web/assets/{0a35520ffc7be23507ad92b1356c324e16e67816207fe53f7148fb129e3f7b16.js → 087bed002531649ed2b202ef468b6bdf42b3ce77848316fc3377741e52fa2f84.js} +1 -1
- package/lib/remote-web/assets/{adfdafc2983dd8062d21830340ae64002b98a0b73112397c1e18b87e50981eb5.js → 08ccb052f1bf6514d581ea35581c796a8b72b119a3ede4c49659569d4ba2b390.js} +14 -14
- package/lib/remote-web/assets/{334885a21328d9e13b7b2a55291f3029eb7e643be2193c72bc1d92b93f5e8124.js → 09d0199543b952650a5fc2822fa3f1f1b11ec40fb6821be4e4a4957a54462fa5.js} +13 -13
- package/lib/remote-web/assets/{15a481b4185010cf0070c1765cff4ae70803c47009b46b969ed23245d47d8d1b.js → 0c7796fb3d285a3e952108018f50ca54f6f9abe12cd5d113abfdda6ca0a9c291.js} +210 -210
- package/lib/remote-web/assets/{3fa1e622c06d545d0397d9294797e08af723cf89efcf27ba0b6a06ab3178b74b.js → 0cde6b99667f8398fc0b93679218518296de65e93c7add4e514fb84b037288fb.js} +1 -1
- package/lib/remote-web/assets/{1c98cd48db7795f939b6f60e34e476c5cdb987b74591c888221bc3cffcd039b9.js → 0d98fb17a975a69e1a44a15a6a7a598f51e4ec7e87d63c5dbba20c937b79b278.js} +536 -536
- package/lib/remote-web/assets/{7e81b7468feb6d690a5ae7bdc9f6d39764372cd64ffac39e5903ccd2de452bb2.js → 0df770f50561c1809781b6df2e39cdd9955bf85a0078b890965e1b5f4a8a644a.js} +35 -35
- package/lib/remote-web/assets/{b96274d6ccca084c0ecddbe2b511899ee8170bdb07f0443b78ed04aee136a9ea.js → 122d30bcfc3f574de9cef4216d1bae603158b8c362157107856a90b224bfa4d6.js} +163 -163
- package/lib/remote-web/assets/{cebafc997b717b6e4129067181e893f3a8789b5b57d22ab0b42ac9228b824281.js → 139b0cb0e366fa40d529e32c7dc7bef81fa9242d5814c77b20399c022b26b657.js} +1 -1
- package/lib/remote-web/assets/{5d58a7f2c9328dff985f169ff9b1d11e19341e1fc195364336c6d19d9944e919.js → 15133b18c27254c4071409497f17ce289290096f02444f776579322822e056fa.js} +11 -11
- package/lib/remote-web/assets/{e9275df5d01fa592536ef387b19c25aebc136aac8e3faa310bca203a43aee10b.js → 18a1bfce18b181785c5722a84fa68c2448c5c293845a54463608c249052231fa.js} +8 -8
- package/lib/remote-web/assets/{1adb6da8d7880db5639471451e8f1a734fd2a3a9366b1564b6d1df7626461b55.js → 18e7fca36248d92ede2e900db36d1caa20a1fc4ef228cff27ce1432a96df4edf.js} +77 -77
- package/lib/remote-web/assets/{01973d1544b193546badc3d3a5b3f3e4ff25c0f97f5dbe31419d8e847dcd1efb.js → 1c14db1f0a14adeb85ae8f71ce1b3c48437014fea4647a28191ec9aeec8e9d64.js} +1 -1
- package/lib/remote-web/assets/{f444d2cee7fc1bdac53f7114a920c659842cdf99e28a24bbd47bb24680bbea9e.js → 1d1aa9c727ce764d8dfdbe2419497486fce7acd87b5208ba38401e51bba343da.js} +43 -43
- package/lib/remote-web/assets/{2c542544e16be5db63d680b340dc54945c5f1c118b9d2bdff9d1cd86e119bccd.js → 1da0fcc4e8c98734daabe0b842ae647c5b31603595932c7679ec0fa5d26530a3.js} +20 -20
- package/lib/remote-web/assets/{e034cf380b694c73636b3b0806ba7373e1801855aacb940f72c15fa229de2b49.js → 1dc4ca74265350d289728f94a067f90af7b0512ff57a11ccc1592cad93b9dc05.js} +1 -1
- package/lib/remote-web/assets/{43a4cc3e142648f4ac9f9be6935c483d45ca25e93509a743ad52893179707a52.js → 2760cb3815b4db58d919c994e60adf195e4cffadbb5a7bb7864e5e38f0e9c4cc.js} +1 -1
- package/lib/remote-web/assets/{f1525fc764d1075eb7e514eef4c8727f861268ca1cd13a7932fe346c783928c1.js → 3b7e8eedc420d0f92c8e02f4f76d2770335cd6886deb43a21c7a055236389ce2.js} +2033 -2018
- package/lib/remote-web/assets/{e02bf19583b6a625934e7a3f186d9501b7643cf66fb8842c112aec334d6c6fb2.js → 3bdb86657b39a44141e195454ff97175c002e6645e854cf5a53e79e14f62d1a7.js} +1 -1
- package/lib/remote-web/assets/{2468f65781a1ed70cba018fd39cc67a752b1bab369a5cea6496979d953469a98.js → 44359122d19e49d937a2479a03fa4b54487ad56333bc8ea3af88ecb93f343a57.js} +56 -56
- package/lib/remote-web/assets/{b951fa440cfa468b10993fc6ab7ff26049c3feeb2555508d3314941ce61d1688.js → 48ee5453fb22d299af902f2f16d392fc3f0fd1c7a61d529af3c8ec2d852d0ef9.js} +1 -1
- package/lib/remote-web/assets/{12e7dcb173cae94664df91583dfee627aff9e6274330cf4ceb8a71848015b1f5.js → 4a9fb8705a24728082865ef72044ed52f7dc8af7958a6c59e2f54a322ea159d3.js} +81 -81
- package/lib/remote-web/assets/{fe588c75b14b5b80a8b1e2ed3d427a018b0478a710ff1158285299a118c68552.js → 4b1f01ce0e6cdf3427082b0ea09f5b4444c5f33becb2e61fcff036be6caecf61.js} +39 -39
- package/lib/remote-web/assets/{94dc298a4c0b13582626b568744d73438379611c70c94f27276de5524a764646.js → 4b5bbd08c07143177017aec55b9c3cfa99f7ac2b7e7df41eb711e5686e8fc45c.js} +1 -1
- package/lib/remote-web/assets/{adb35a440db8d19c4c4259db43a2581dc976973a18c33a21537c7a4f134c3751.js → 4d62ec73c613195dbcc605687437075d9ae69abfff46f2222828ef6552aeb7fb.js} +198 -198
- package/lib/remote-web/assets/{ddfab7b1b5a26429dec5bce358ed59cbfde9abb4163d799cc21dd0c81bbf0039.js → 4fba08815fd76d75051f8cd3a8422efaddaabd35916b782b8c3a6c5efca37df7.js} +1 -1
- package/lib/remote-web/assets/{6b47fdd8a6f11322c7b05295cc13333968713fb6d31afd3aaff2ff472e779899.js → 51df9318706eec62dd9ac25b3e177f27b381b2badd74c9105b4ecd19fd9d8a7f.js} +187 -187
- package/lib/remote-web/assets/{f95c2501d2da00fc152537c126ec680b4ce0d1bbe11439e34d39906400e0d314.js → 5448433f82ecf21d6c836ad57deddf1794ba63eee14e7380d3f61f84e12e5fdb.js} +38 -38
- package/lib/remote-web/assets/{d60e1fc1a4c2fd58f0e8bdba92181866c6a91dbe78f246ff13a7f36f322fe2e0.js → 5513a63c1c3db2570ffc3d4247838e1fdd74720aea7f6fc31ae2e5e7803f55ba.js} +10 -10
- package/lib/remote-web/assets/{a5fbb399f54ed13ab75612b231af21361747b2aa647d74f9643d09ebf6850cf4.js → 61aefa00f389470ac6c115e3235e098fd748b96305383a2d1bd6ce44cea0fec5.js} +17 -17
- package/lib/remote-web/assets/{77466b3f709f3db981e917e814f6a994525b19e6549a9cd39329242cba39a8ec.js → 633253522c4782e41100d66490ce6cdecabeca111378fbc37584a4cfceccfb15.js} +8 -8
- package/lib/remote-web/assets/{859bc5e8483c0b551734cf5b56d293ffac7c6ad861753115ed3e614b7063f875.js → 6e4e15365f3e55613ce8287ad50e74b10b45b9a93e8e3ea0432a84d3339a0814.js} +4 -4
- package/lib/remote-web/assets/{49d4a89c9a9c14f512853f602a6a48677fc2bfaccb285968dbbf7a5bce9cca23.js → 7b45fae07f4e474e34e468c8e2d6ec357ccbd6cfa3874e9f1f16852975bf7b70.js} +28 -28
- package/lib/remote-web/assets/{02fa8868185ded075a4fc747a57779bb44693016716e7f5cf15118d5e277f67d.js → 7b668aebc28b5370196dc974f744a9b73ee22fb64ac86644bbd3f6d35e30a9c3.js} +1 -1
- package/lib/remote-web/assets/{86f233ebd933cc27cd1fd375eadaef756258ec6ef3f1ec6bbc8a74bd749b25cf.js → 81a52db264b358f8a0571c1a21df44d005711d3070edab12b01718962f237daa.js} +19 -19
- package/lib/remote-web/assets/{27049d2062e1559c71c12312b3bd4a3d12b7551aa1cae18d0eabef42b15f22e3.js → 85674b722e9ddd3a7fb57729957619a72c125c6444b8067bedaf736a083e8870.js} +66 -66
- package/lib/remote-web/assets/{7c12a1642113ad6e6fef1215ece81f8119e6eda32c933d0e6d0cdf45b955dcf6.js → 8ec58a658326c139649a5fa4337d716d487a19eb53cefef6ab33a8f170cbb937.js} +12 -12
- package/lib/remote-web/assets/{ac1eeb4080e4ceeb19b90bae0449d11cf3bca7bb10865f75d22234b193e3c71f.js → 8ee1f0abb65b41bdae842afcf92fd5423227ff79190064d16d72e3cf5d663ccb.js} +66 -66
- package/lib/remote-web/assets/{76df7944d9167c8570be01943f4c4fa388c231ce28679391478a621a2b992302.js → 93e5328c86c55d0f5f572c52e301a94edb6ff183e59a088c807cb003acf19b3e.js} +40 -40
- package/lib/remote-web/assets/{af8d8b6d4866268a09ab3fa3a7b4207ee05a679acab4b0fdcb636573d4362cd4.js → 95db94d22c7fbb20288fd23f7300f237a32eef01fb14d080ce2ba5a4056cb58b.js} +5 -2
- package/lib/remote-web/assets/{8d9390f9055cae8f6cb9007160df46e927206e8bc6be2b85ad2cded69c55c258.js → 971050ba209a083dc0f76aae76c920b0cf6f39833caa9eac04d5e7c098b10294.js} +6 -6
- package/lib/remote-web/assets/{65245e000893241e7bb501a9a74f817e7127d3ac52f9498f426729e33b936042.css → 9b651fa4a96aae97c23e1e7774719c275901770622525feddee8982f881d30cb.css} +1 -1
- package/lib/remote-web/assets/{5f7c0da75b7d175568413e9252b489e38e1a105dc5cba4ee2af5c14614b19636.js → 9be52bd9e34016d26eac150a60864792bac13cedeb610134847c3750fe6d7d65.js} +1 -1
- package/lib/remote-web/assets/{fad9547b869d68c968df3a4c6223547dea854d82ba9d03b5bed7cb1b6f5a863a.js → a46ac5f37d4d56a6f3ef55f9d1c22afe79ae6e6486cac58d1a8b5f4aa35e3454.js} +4 -4
- package/lib/remote-web/assets/{b4795c75852caa38530903f2f5c6a068245769ca598519062ef8c84ee952dcbb.js → a902a4629188498d3de6c11bdab9d6331ebc78ac84f1eed1426808e152324eef.js} +1 -1
- package/lib/remote-web/assets/{3c58d660556f04bf959a80a68ceb24f9ca271effa47d4c11bf80a2a7298e094b.js → b14165b5a2b7ea65983dd50bb4d2a812e742902d215ac0838e4acb6e9d2219cb.js} +29 -29
- package/lib/remote-web/assets/{e9c84734488eb05a5046cdadc91c42eead837ebba2c347382afb6b6a928ff453.js → bc71bf8433d22d5044fc0a1d23cf3da7249e1d4d68a28403cdcdeb62f6c06fd0.js} +8 -8
- package/lib/remote-web/assets/{4452b5457ed9ef75852ed655421678a4c9761a8ba665a6acb76a7bee9591f80a.js → c19cad32a941358746573aa8775bfa25bb039ab11c0dbc8609472e4954d99569.js} +1 -1
- package/lib/remote-web/assets/{1dc7a20ec252e349870f557514a7400c40204ec2843b5465f2566fbda4c2c6d7.js → c3c64c8c168f764e3179ddc5756b784bae721d76425f2bed1be8c94c2981c023.js} +105 -105
- package/lib/remote-web/assets/{642d744b2336ffdca7f6ef2142b982d7583dc16a8f0fa6336a3ad342ae2e92bf.js → c9b9443fe4210c5c7e9c473b18516d12972136bc2158944009e64f378d6a0f76.js} +61 -61
- package/lib/remote-web/assets/{9ad4c375e58485513f0bb245c565dde8d9e377daa743973c2ffbd1db6edf5c14.js → ca4eacba163e6456f16b51db159f5bb8022d77f769d997e71542a8a462526f89.js} +1 -1
- package/lib/remote-web/assets/{19fdc5bfa9eb27746a52d4136d82432adad1fc5c05da343375c47e9eb1e0ff6d.js → cb63e257fb5d660613f44875d534ed8b2ca3d84ea23a7c2126a32b48848bb952.js} +1 -1
- package/lib/remote-web/assets/{18be6c6b00a6cebc5d61c987d345c295670aba2c448824b89394ef0225a9ad8f.js → d091b2f2d7a7405446aa3cf3e9222ab01c9108c51d8bdaddac35e1c0787f5d9e.js} +17 -17
- package/lib/remote-web/assets/{a9136a821ffdecfbb7da3181201a294599113fde30a9194d300a0ebd04265777.js → d1702ad9988e1f43af19d6222173fcd19df5eeb818178d0121965cb28c4aac79.js} +32 -32
- package/lib/remote-web/assets/{3ca829260281ebaa7e63eacb26fb5d6f9b3d2536424f17602f43eca797236daf.js → d2214a70ac36fce2f7f9f4fc955d487fdb7b2fac778eb6768bafefbf9d483756.js} +96 -96
- package/lib/remote-web/assets/{32eac0da1495da50f652018ac86c7dfeb5623a5aad823b876f42220667f1e7ed.js → d5a949b16e3425e396fbb9da6c72b7753c712d7a6e2f7cd82ee149ea5dddaf46.js} +19 -19
- package/lib/remote-web/assets/{6381af51cd1f1ff8f74971e145d78efbbb0a91ee04c08b67b0d826807410ce6c.js → d89ab139a3c4c779fcd0f7d90178e1e40b6918df5ff3ee88bf2e21ff4f4a408c.js} +23 -23
- package/lib/remote-web/assets/{52ac36b862f86e3fb3484b4cf739c2814e10c48be9a2ff0628a7ca41fc58286a.js → dad39c89eb29f99a02c2af23d3a8311b91f0b5a6ec46ef82e6e9dccdbb5ee6fc.js} +46 -46
- package/lib/remote-web/assets/{6e976052085dd6ca0696d3a8af15c019d603ffbebd7025e4296adde26392b610.js → dc5ab043cebd5fea48e4986e9702c1e7e80474ff9d9d169ac0cc3e5011d2a577.js} +14 -14
- package/lib/remote-web/assets/{005428c618c289f581815d719452c1d079fde087ab7597f1f4c9612cc9a58a4d.js → e1ae1c76c261fb7942bbcb954a2daf44b19e441c43a1e01bec909e11a0e3a112.js} +17 -17
- package/lib/remote-web/assets/{18f57f2be1c19d9ef485ceb00726357034de63728633c69d63ca2e2308e5958b.js → e2588f4df22316a5592393a5d6a846477deb9a7e61e2bb275bffdbdc2aceeb18.js} +1 -1
- package/lib/remote-web/assets/{c597d36a6b01cd4210733f7646be58b0868d3daa52d99430c5af5d28c89657b4.js → e2b04a76c8759e5147bbdd901106b4c52abdf7a930b50fc1b9db0abfde6943d4.js} +55 -55
- package/lib/remote-web/assets/{a1ec080e7d44c62ef90702af75eeeb076d07fe038c0520cad58bd3dbd423292d.js → e473d6a294c1c3e8dc0de53d575c5dfb819e7ac17276c2a1a6857f00926cca23.js} +248 -236
- package/lib/remote-web/assets/{9e5285630189b8e0b0a05ff063c168a7529bdc050577951adfb83d259211da24.js → e49b263f1d23afca80ae12e6b22bad8160d7af4040e67f651e118716501c9877.js} +7 -7
- package/lib/remote-web/assets/{e199929a866f9546c5f82ffa151f6360c31fae41e50594eb6d581f332a3e6b0c.js → e5c3c7acacaa3a8fe1a751fe18efd6971ed08da4bcfe22552b5ab2acdffbdda0.js} +10 -10
- package/lib/remote-web/assets/{6e8987340a515a088aca1ac7a058497830773028608c13ce2534d879148cd4e1.js → e97c5e1b2d22345551b36963fa0732dd2d3b35b2151c325afa5383a92274a46b.js} +1 -1
- package/lib/remote-web/assets/{64b30fa405d0e970e2cd9965e6885cf0a51d3e9405620cb9b7475dcd201567e8.js → e9dc6f3cb84e3cbbbf89f784935ddb888998996c6a821cdd6034813519d5b805.js} +40 -40
- package/lib/remote-web/assets/{940768cc4030ed48826915533c051037bf0cc7abe1cf7beb848209117e9e1e8c.js → eca547fd17bc209b737202e26038f067f5e7343d03853c03c522a7ffce1478e9.js} +27 -27
- package/lib/remote-web/assets/{cafa7df812524a60fdd7a87a5e2a999d30a3db98020be2215d3911e971b82703.js → eda44f09786da18ba9e1565add234c28dc6ce7921f8015c0d1802d41fab65830.js} +48 -48
- package/lib/remote-web/assets/{a2d62f5423b1fa2be3fa79c3f7242ae5152a993ac5179767aebb5c494eb23a31.js → fad9a550005adba79006e476f4542fb0946734ceaf44963d7dcdf6b671f5366c.js} +1 -1
- package/lib/remote-web/assets/{679ca4f6d055b4e3f42552bc908312a3a2a9639cc0ebdd26559de02051b2d720.js → fbc51e4c027ee369392bf78c535d4713e226dd65e4be60c0e7466205f3cb514f.js} +193 -193
- package/lib/remote-web/assets/{d780f0181c73771dade5f793f0a81fc914cc45cae63d1dc4cb04c2c34f2ddbe4.js → fe91c282e5695c3920bcb5168c49c0038909b22b040269802b348889d07ac6e1.js} +1 -1
- package/lib/remote-web/index.html +2 -2
- package/lib/remote-web/manifest.json +461 -461
- package/package.json +24 -23
- package/lib/host/awake-timeout.d.ts +0 -24
- package/lib/host/awake-timeout.js +0 -45
|
@@ -14441,244 +14441,256 @@ window.__ModuleLoader__.load({
|
|
|
14441
14441
|
let _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema$value;
|
|
14442
14442
|
const _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema = () => _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema$value ??= zod.z.boolean();
|
|
14443
14443
|
let _deepseek_ai_dsh_api_session_controller_session_control_result$schema$value;
|
|
14444
|
-
const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = () => _deepseek_ai_dsh_api_session_controller_session_control_result$schema$value ??= zod.z.union([
|
|
14445
|
-
|
|
14446
|
-
|
|
14447
|
-
"
|
|
14448
|
-
|
|
14449
|
-
"
|
|
14450
|
-
"
|
|
14451
|
-
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
"
|
|
14455
|
-
"
|
|
14456
|
-
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
"
|
|
14461
|
-
|
|
14462
|
-
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
"
|
|
14467
|
-
"
|
|
14468
|
-
|
|
14469
|
-
|
|
14470
|
-
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14474
|
-
|
|
14475
|
-
"
|
|
14476
|
-
|
|
14477
|
-
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
"
|
|
14485
|
-
|
|
14486
|
-
zod.z.literal("completed"),
|
|
14487
|
-
zod.z.literal("pending"),
|
|
14488
|
-
zod.z.literal("in_progress")
|
|
14489
|
-
]).describe("Lifecycle state. `in_progress` marks a task being worked now; parallel work may mark several.")
|
|
14490
|
-
}))]).optional().describe("The agent's current whole todo list (the latest `todo/write` snapshot), or `null` before the first write. Whole-value rule: every `todo/write` carries the complete replacement list, so the fold is last-wins. Excluded from Session summary payloads, with `null` kept outside the exclusion mark so the pre-first-write value stays expressible."),
|
|
14491
|
-
"sessionListMetadata": zod.z.object({
|
|
14492
|
-
"blank": zod.z.boolean().readonly().describe("Whether the folded prefix contains no turn."),
|
|
14493
|
-
"lastPromptAt": zod.z.union([zod.z.literal(null), zod.z.number()]).readonly().describe("Latest human-authored prompt time in the folded prefix.")
|
|
14494
|
-
}).optional().describe("Persisted facts used to summarize a Session without activating it."),
|
|
14495
|
-
"imageLimits": zod.z.object({
|
|
14496
|
-
"maxImageBytes": zod.z.number(),
|
|
14497
|
-
"maxImagesPerMessage": zod.z.number(),
|
|
14498
|
-
"maxMessageImageBytes": zod.z.number(),
|
|
14499
|
-
"maxImagePixels": zod.z.number(),
|
|
14500
|
-
"maxImageDimension": zod.z.number().describe("Maximum intrinsic width and maximum intrinsic height in pixels for one image."),
|
|
14501
|
-
"mediaTypes": zod.z.array(zod.z.union([
|
|
14502
|
-
zod.z.literal("image/png"),
|
|
14503
|
-
zod.z.literal("image/jpeg"),
|
|
14504
|
-
zod.z.literal("image/webp"),
|
|
14505
|
-
zod.z.literal("image/gif")
|
|
14506
|
-
]))
|
|
14507
|
-
}).optional().describe("Image-intake limits enforced by the Session prompt endpoint. Boot constant, excluded from Session summary payloads: every Session shares it, so a list row would repeat one host-wide fact."),
|
|
14508
|
-
"workingDirectory": zod.z.union([zod.z.literal(null), zod.z.string()]).optional().describe("Recorded current directory for Session observations, or null when none is recorded."),
|
|
14509
|
-
"permissions": zod.z.object({ "currentValue": zod.z.string().describe("The effective current value: a configured preset key, `auto`, or `custom`.") }).optional().describe("The session's current permission, folded from the three whole-value knob events (`permission/preset`, `sandbox/mode`, `approval/policy`) over the composition defaults. Selectable options come from the process-level catalog Remote. Key absence means no permission service is composed — clients hide the control."),
|
|
14510
|
-
"subagentCatalog": zod.z.array(zod.z.union([
|
|
14511
|
-
zod.z.object({
|
|
14512
|
-
"id": zod.z.string().readonly(),
|
|
14513
|
-
"createdAt": zod.z.number().readonly(),
|
|
14514
|
-
"mode": zod.z.literal("one-shot").readonly(),
|
|
14515
|
-
"label": zod.z.string().readonly().optional()
|
|
14516
|
-
}),
|
|
14517
|
-
zod.z.object({
|
|
14518
|
-
"id": zod.z.string().readonly(),
|
|
14519
|
-
"createdAt": zod.z.number().readonly(),
|
|
14520
|
-
"mode": zod.z.literal("external").readonly(),
|
|
14521
|
-
"label": zod.z.string().readonly().optional()
|
|
14522
|
-
}),
|
|
14523
|
-
zod.z.object({
|
|
14524
|
-
"id": zod.z.string().readonly(),
|
|
14525
|
-
"createdAt": zod.z.number().readonly(),
|
|
14526
|
-
"mode": zod.z.literal("continuable").readonly(),
|
|
14527
|
-
"label": zod.z.string().readonly()
|
|
14528
|
-
}),
|
|
14529
|
-
zod.z.object({
|
|
14530
|
-
"id": zod.z.string().readonly(),
|
|
14531
|
-
"createdAt": zod.z.number().readonly(),
|
|
14532
|
-
"mode": zod.z.literal("unknown").readonly(),
|
|
14533
|
-
"label": zod.z.string().readonly().optional()
|
|
14534
|
-
})
|
|
14535
|
-
])).optional().describe("Direct children in parent catalog event order, excluding fork-inherited facts."),
|
|
14536
|
-
"subagentTiming": zod.z.object({
|
|
14537
|
-
"settledMs": zod.z.number().describe("Milliseconds accumulated across completed turns after the child's own descriptor."),
|
|
14538
|
-
"active": zod.z.object({
|
|
14539
|
-
"since": zod.z.number().describe("Start of the open turn."),
|
|
14540
|
-
"through": zod.z.number().describe("Latest event time folded into this projection cut.")
|
|
14541
|
-
}).optional().describe("Same-cut bounds of the currently open turn, when one has not reached `turn/end`."),
|
|
14542
|
-
"lastTurnCompleted": zod.z.boolean().optional().describe("Whether the latest closed turn after the child's own descriptor completed normally; absent while a turn is open or before one closes.")
|
|
14543
|
-
}).optional().describe("Active-turn duration and latest closed-turn completion for a descriptor-backed subagent session."),
|
|
14544
|
-
"subagent": zod.z.union([
|
|
14545
|
-
zod.z.literal(null),
|
|
14546
|
-
zod.z.object({
|
|
14547
|
-
"mode": zod.z.literal("one-shot").describe("A terminal one-shot child."),
|
|
14548
|
-
"label": zod.z.string().optional().describe("Optional durable creation label from the child's descriptor."),
|
|
14549
|
-
"seq": zod.z.number().describe("Seq of the `subagent/descriptor` event this identity was folded from. `session.isOwnSeq(seq)` proves the identity comes from the child's OWN log suffix — where a descriptor is immutable once appended — and not from a fork seed's replayed ancestor descriptor.")
|
|
14550
|
-
}),
|
|
14551
|
-
zod.z.object({
|
|
14552
|
-
"mode": zod.z.literal("continuable").describe("A resumable conversation."),
|
|
14553
|
-
"label": zod.z.string().describe("Durable creation label from the child's descriptor."),
|
|
14554
|
-
"seq": zod.z.number().describe("Seq of the folded descriptor event; see the one-shot arm for the own-suffix proof.")
|
|
14555
|
-
})
|
|
14556
|
-
]).optional().describe("Identity of a descriptor-backed subagent session. `null` ⟺ no valid descriptor (missing, malformed, or unrecognized-version — deliberately undistinguished). The sentinel is deliberately serializable: a value pushed over JSON transports must survive `JSON.stringify` losslessly, where an `undefined` field would be dropped and a stale identity would survive on the receiving side. The entry itself stays non-optional."),
|
|
14557
|
-
"tokenUsage": zod.z.object({
|
|
14558
|
-
"uncachedInputTokens": zod.z.number(),
|
|
14559
|
-
"outputTokens": zod.z.number(),
|
|
14560
|
-
"cacheReadTokens": zod.z.number(),
|
|
14561
|
-
"cacheWriteTokens": zod.z.number()
|
|
14562
|
-
}).optional().describe("Provider-reported usage accumulated across the complete durable log."),
|
|
14563
|
-
"contextPressure": zod.z.object({
|
|
14564
|
-
"pressureTokens": zod.z.number().optional().describe("Provider-reported prompt size of the most recent request: uncached input plus cache reads and writes. Response output is excluded, so this does not grow as the current turn streams. Absent until a provider reports usage."),
|
|
14565
|
-
"projectedTokens": zod.z.number().optional().describe("What the NEXT request's prompt would cost: {@link pressureTokens} plus the heuristic repricing of everything the surface gained or lost since that sample. Only the delta is estimated, so the figure stays anchored to the provider while still reacting the moment a compaction shadows a span — which `pressureTokens` alone cannot do, since compaction reports no usage of its own. Absent until a provider reports usage."),
|
|
14566
|
-
"contextWindow": zod.z.number().optional().describe("Newest recorded route capacity; absent when no adapter advertised one.")
|
|
14567
|
-
}).optional().describe("Newest request pressure paired with the newest known route capacity."),
|
|
14568
|
-
"contextBreakdown": zod.z.object({
|
|
14569
|
-
"systemTokens": zod.z.number().describe("Heuristic tokens of the last nonempty surviving system prompt in surface order; 0 when none exists."),
|
|
14570
|
-
"toolsTokens": zod.z.number().describe("Heuristic tokens of the newest request envelope's tool schemas; 0 before any request."),
|
|
14571
|
-
"messageTokens": zod.z.number().describe("Heuristic tokens of every other visible surface node, including superseded system prompts.")
|
|
14572
|
-
}).optional().describe("Heuristic system/tools/message composition of the next request."),
|
|
14573
|
-
"userQuestions": zod.z.object({
|
|
14574
|
-
"active": zod.z.array(zod.z.object({
|
|
14575
|
-
"callId": zod.z.string().readonly(),
|
|
14576
|
-
"questions": zod.z.array(zod.z.object({
|
|
14577
|
-
"id": zod.z.string().describe("Stable caller-provided question id, echoed in the answer."),
|
|
14578
|
-
"question": zod.z.string().describe("The question to display."),
|
|
14579
|
-
"detail": zod.z.string().optional().describe("Optional supporting detail rendered with the question but kept out of option labels."),
|
|
14580
|
-
"header": zod.z.string().optional().describe("Optional short heading/group label."),
|
|
14581
|
-
"options": zod.z.array(zod.z.object({
|
|
14582
|
-
"label": zod.z.string().describe("User-facing label."),
|
|
14583
|
-
"description": zod.z.string().optional().describe("Optional extra context rendered by capable UIs.")
|
|
14584
|
-
})).optional().describe("Optional choices the UI can render as a menu."),
|
|
14585
|
-
"multiSelect": zod.z.boolean().optional().describe("Whether more than one option may be selected. Defaults to single-select."),
|
|
14586
|
-
"intent": zod.z.union([zod.z.object({
|
|
14587
|
-
"kind": zod.z.literal("plan-review").describe("A plan submitted for review: `detail` is the plan markdown `ask()` requires, and the decision approves or declines it."),
|
|
14588
|
-
"approve": zod.z.string().describe("The option label that approves the plan; every other option declines it. Named rather than positional so no UI infers the verdict from option order. An `approve` naming no option of its own question is rejected at `ask()`."),
|
|
14589
|
-
"callId": zod.z.string().optional().describe("Logged tool invocation whose arguments contain the reviewed plan.")
|
|
14590
|
-
}), zod.z.object({
|
|
14591
|
-
"kind": zod.z.literal("approval").describe("A blocking permission decision with fixed actions and no free-text answer."),
|
|
14592
|
-
"approve": zod.z.string().describe("Option label granting the scope described by the caller."),
|
|
14593
|
-
"reject": zod.z.string().describe("Option label refusing the requested access."),
|
|
14594
|
-
"always": zod.z.string().optional().describe("Optional persistent grant offered only when the caller supports it."),
|
|
14595
|
-
"subject": zod.z.object({
|
|
14596
|
-
"name": zod.z.string(),
|
|
14597
|
-
"icon": zod.z.string().optional()
|
|
14598
|
-
}).optional().describe("Metadata for human recognition; the caller admits icon sources, which the UI may load as URLs. Never an authorization identity."),
|
|
14599
|
-
"display": zod.z.object({
|
|
14600
|
-
"question": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())),
|
|
14601
|
-
"detail": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())).optional(),
|
|
14602
|
-
"approve": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())).optional()
|
|
14603
|
-
}).optional().describe("Localized question and limited-grant label; fixed cards own reject/always wording. Option labels remain answer values.")
|
|
14604
|
-
})]).optional().describe("Optional presentation intent for capable UIs; absent asks for the generic option list.")
|
|
14605
|
-
})).readonly(),
|
|
14606
|
-
"state": zod.z.union([zod.z.literal("open"), zod.z.literal("continued")]).readonly()
|
|
14607
|
-
})).readonly().describe("Calls that can still take an answer, in ask order."),
|
|
14608
|
-
"settled": zod.z.array(zod.z.object({
|
|
14609
|
-
"callId": zod.z.string().readonly().describe("The settled call."),
|
|
14610
|
-
"answers": zod.z.array(zod.z.object({
|
|
14611
|
-
"id": zod.z.string().describe("The answered question id."),
|
|
14612
|
-
"selected": zod.z.array(zod.z.string()).describe("Selected option labels. May accompany custom text for a multi-select question."),
|
|
14613
|
-
"custom": zod.z.string().optional().describe("Optional free-text \"Other\" answer.")
|
|
14614
|
-
})).readonly().describe("The recorded batch, one entry per question; empty when the late reply carried none.")
|
|
14615
|
-
})).readonly().describe("Calls an answer settled, in settlement order.")
|
|
14616
|
-
}).optional().describe("Timed questions that remain answerable in this Session, and the ones a late reply settled."),
|
|
14617
|
-
"agentTeam": zod.z.object({
|
|
14618
|
-
"members": zod.z.array(zod.z.object({
|
|
14619
|
-
"id": zod.z.string().readonly(),
|
|
14620
|
-
"name": zod.z.string().readonly(),
|
|
14621
|
-
"role": zod.z.union([zod.z.literal("lead"), zod.z.literal("teammate")]).readonly(),
|
|
14622
|
-
"phase": zod.z.union([
|
|
14623
|
-
zod.z.literal("failed"),
|
|
14624
|
-
zod.z.literal("provisioning"),
|
|
14625
|
-
zod.z.literal("active")
|
|
14626
|
-
]).readonly().describe("Durable lifecycle; the Lead row is always `active`. Turn activity comes from Session status."),
|
|
14627
|
-
"error": zod.z.string().readonly().optional()
|
|
14628
|
-
})).readonly(),
|
|
14629
|
-
"tasks": zod.z.array(zod.z.object({
|
|
14630
|
-
"id": zod.z.string().readonly(),
|
|
14631
|
-
"revision": zod.z.number().readonly(),
|
|
14632
|
-
"subject": zod.z.string().readonly(),
|
|
14633
|
-
"description": zod.z.string().readonly(),
|
|
14444
|
+
const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = () => _deepseek_ai_dsh_api_session_controller_session_control_result$schema$value ??= zod.z.union([
|
|
14445
|
+
zod.z.object({
|
|
14446
|
+
"type": zod.z.literal("baseline").readonly(),
|
|
14447
|
+
"value": zod.z.object({ "projections": zod.z.record(zod.z.string(), zod.z.object({
|
|
14448
|
+
"asOfSeq": zod.z.number().readonly(),
|
|
14449
|
+
"values": zod.z.intersection(zod.z.object({
|
|
14450
|
+
"inbox": zod.z.object({
|
|
14451
|
+
"next-turn": zod.z.array(zod.z.json()).readonly(),
|
|
14452
|
+
"next-step": zod.z.array(zod.z.json()).readonly()
|
|
14453
|
+
}).optional().describe("Pending agent input reconstructed from durable inbox splices."),
|
|
14454
|
+
"modelSelection": zod.z.object({
|
|
14455
|
+
"lastUsed": zod.z.union([zod.z.literal(null), zod.z.object({
|
|
14456
|
+
"provider": zod.z.string().describe("Registered provider route."),
|
|
14457
|
+
"model": zod.z.string().describe("Provider-owned model id."),
|
|
14458
|
+
"reasoningEffort": zod.z.string().optional().describe("Adapter-owned reasoning effort, or provider/default behavior when absent.")
|
|
14459
|
+
})]).readonly().describe("Selection used by the latest recorded model request."),
|
|
14460
|
+
"next": zod.z.union([zod.z.literal(null), zod.z.object({
|
|
14461
|
+
"provider": zod.z.string().describe("Registered provider route."),
|
|
14462
|
+
"model": zod.z.string().describe("Provider-owned model id."),
|
|
14463
|
+
"reasoningEffort": zod.z.string().optional().describe("Adapter-owned reasoning effort, or provider/default behavior when absent.")
|
|
14464
|
+
})]).readonly().describe("Selection the next model step uses; null while the Agent's initial options supply the route.")
|
|
14465
|
+
}).optional().describe("Recorded model selection for the next model step and the latest request."),
|
|
14466
|
+
"actionCards": zod.z.object({
|
|
14467
|
+
"proposals": zod.z.record(zod.z.string(), zod.z.object({
|
|
14468
|
+
"callId": zod.z.string().readonly().describe("Id of the logged tool call."),
|
|
14469
|
+
"turn": zod.z.number().readonly().describe("Turn whose answer the card follows."),
|
|
14470
|
+
"action": zod.z.string().readonly().describe("Registered action kind named by the call."),
|
|
14471
|
+
"title": zod.z.string().readonly(),
|
|
14472
|
+
"brief": zod.z.string().readonly().describe("What the action does, in the user's language."),
|
|
14473
|
+
"details": zod.z.record(zod.z.string(), zod.z.json()).readonly().readonly().describe("Fields the kind's skill asks for.")
|
|
14474
|
+
})).readonly().readonly(),
|
|
14475
|
+
"decisions": zod.z.record(zod.z.string(), zod.z.object({
|
|
14476
|
+
"callId": zod.z.string().readonly(),
|
|
14477
|
+
"action": zod.z.string().readonly(),
|
|
14478
|
+
"phase": zod.z.string().readonly(),
|
|
14479
|
+
"data": zod.z.union([zod.z.undefined(), zod.z.record(zod.z.string(), zod.z.json()).readonly()]).readonly().optional().describe("Kind-defined fields such as a chosen location or a created package.")
|
|
14480
|
+
})).readonly().readonly()
|
|
14481
|
+
}).optional().describe("Action card proposals and decisions for the currently open Session."),
|
|
14482
|
+
"agentPreset": zod.z.union([zod.z.literal(null), zod.z.string()]).optional().describe("Preset the Session runs, or null when the deployment composes none."),
|
|
14483
|
+
"title": zod.z.union([zod.z.literal(null), zod.z.string()]).optional().describe("The session's current normalized title — the latest `session/title` event's text (last-wins), or `null` before the first title lands. A plain string: the shape the client list rows consume."),
|
|
14484
|
+
"todos": zod.z.union([zod.z.literal(null), zod.z.array(zod.z.object({
|
|
14485
|
+
"content": zod.z.string().describe("What this task is — a short imperative line shown in the UI."),
|
|
14634
14486
|
"status": zod.z.union([
|
|
14635
14487
|
zod.z.literal("completed"),
|
|
14636
14488
|
zod.z.literal("pending"),
|
|
14637
|
-
zod.z.literal("in_progress")
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
"
|
|
14642
|
-
"
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
"
|
|
14651
|
-
|
|
14652
|
-
zod.z.literal("
|
|
14653
|
-
zod.z.literal("
|
|
14654
|
-
zod.z.literal("
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14489
|
+
zod.z.literal("in_progress")
|
|
14490
|
+
]).describe("Lifecycle state. `in_progress` marks a task being worked now; parallel work may mark several.")
|
|
14491
|
+
}))]).optional().describe("The agent's current whole todo list (the latest `todo/write` snapshot), or `null` before the first write. Whole-value rule: every `todo/write` carries the complete replacement list, so the fold is last-wins. Excluded from Session summary payloads, with `null` kept outside the exclusion mark so the pre-first-write value stays expressible."),
|
|
14492
|
+
"sessionListMetadata": zod.z.object({
|
|
14493
|
+
"blank": zod.z.boolean().readonly().describe("Whether the folded prefix contains no turn."),
|
|
14494
|
+
"lastPromptAt": zod.z.union([zod.z.literal(null), zod.z.number()]).readonly().describe("Latest human-authored prompt time in the folded prefix.")
|
|
14495
|
+
}).optional().describe("Persisted facts used to summarize a Session without activating it."),
|
|
14496
|
+
"imageLimits": zod.z.object({
|
|
14497
|
+
"maxImageBytes": zod.z.number(),
|
|
14498
|
+
"maxImagesPerMessage": zod.z.number(),
|
|
14499
|
+
"maxMessageImageBytes": zod.z.number(),
|
|
14500
|
+
"maxImagePixels": zod.z.number(),
|
|
14501
|
+
"maxImageDimension": zod.z.number().describe("Maximum intrinsic width and maximum intrinsic height in pixels for one image."),
|
|
14502
|
+
"mediaTypes": zod.z.array(zod.z.union([
|
|
14503
|
+
zod.z.literal("image/png"),
|
|
14504
|
+
zod.z.literal("image/jpeg"),
|
|
14505
|
+
zod.z.literal("image/webp"),
|
|
14506
|
+
zod.z.literal("image/gif")
|
|
14507
|
+
]))
|
|
14508
|
+
}).optional().describe("Image-intake limits enforced by the Session prompt endpoint. Boot constant, excluded from Session summary payloads: every Session shares it, so a list row would repeat one host-wide fact."),
|
|
14509
|
+
"workingDirectory": zod.z.union([zod.z.literal(null), zod.z.string()]).optional().describe("Recorded current directory for Session observations, or null when none is recorded."),
|
|
14510
|
+
"permissions": zod.z.object({ "currentValue": zod.z.string().describe("The effective current value: a configured preset key, `auto`, or `custom`.") }).optional().describe("The session's current permission, folded from the three whole-value knob events (`permission/preset`, `sandbox/mode`, `approval/policy`) over the composition defaults. Selectable options come from the process-level catalog Remote. Key absence means no permission service is composed — clients hide the control."),
|
|
14511
|
+
"subagentCatalog": zod.z.array(zod.z.union([
|
|
14512
|
+
zod.z.object({
|
|
14513
|
+
"id": zod.z.string().readonly(),
|
|
14514
|
+
"createdAt": zod.z.number().readonly(),
|
|
14515
|
+
"mode": zod.z.literal("one-shot").readonly(),
|
|
14516
|
+
"label": zod.z.string().readonly().optional()
|
|
14517
|
+
}),
|
|
14518
|
+
zod.z.object({
|
|
14519
|
+
"id": zod.z.string().readonly(),
|
|
14520
|
+
"createdAt": zod.z.number().readonly(),
|
|
14521
|
+
"mode": zod.z.literal("external").readonly(),
|
|
14522
|
+
"label": zod.z.string().readonly().optional()
|
|
14523
|
+
}),
|
|
14524
|
+
zod.z.object({
|
|
14525
|
+
"id": zod.z.string().readonly(),
|
|
14526
|
+
"createdAt": zod.z.number().readonly(),
|
|
14527
|
+
"mode": zod.z.literal("continuable").readonly(),
|
|
14528
|
+
"label": zod.z.string().readonly()
|
|
14529
|
+
}),
|
|
14530
|
+
zod.z.object({
|
|
14531
|
+
"id": zod.z.string().readonly(),
|
|
14532
|
+
"createdAt": zod.z.number().readonly(),
|
|
14533
|
+
"mode": zod.z.literal("unknown").readonly(),
|
|
14534
|
+
"label": zod.z.string().readonly().optional()
|
|
14535
|
+
})
|
|
14536
|
+
])).optional().describe("Direct children in parent catalog event order, excluding fork-inherited facts."),
|
|
14537
|
+
"subagentTiming": zod.z.object({
|
|
14538
|
+
"settledMs": zod.z.number().describe("Milliseconds accumulated across completed turns after the child's own descriptor."),
|
|
14539
|
+
"active": zod.z.object({
|
|
14540
|
+
"since": zod.z.number().describe("Start of the open turn."),
|
|
14541
|
+
"through": zod.z.number().describe("Latest event time folded into this projection cut.")
|
|
14542
|
+
}).optional().describe("Same-cut bounds of the currently open turn, when one has not reached `turn/end`."),
|
|
14543
|
+
"lastTurnCompleted": zod.z.boolean().optional().describe("Whether the latest closed turn after the child's own descriptor completed normally; absent while a turn is open or before one closes.")
|
|
14544
|
+
}).optional().describe("Active-turn duration and latest closed-turn completion for a descriptor-backed subagent session."),
|
|
14545
|
+
"subagent": zod.z.union([
|
|
14546
|
+
zod.z.literal(null),
|
|
14547
|
+
zod.z.object({
|
|
14548
|
+
"mode": zod.z.literal("one-shot").describe("A terminal one-shot child."),
|
|
14549
|
+
"label": zod.z.string().optional().describe("Optional durable creation label from the child's descriptor."),
|
|
14550
|
+
"seq": zod.z.number().describe("Seq of the `subagent/descriptor` event this identity was folded from. `session.isOwnSeq(seq)` proves the identity comes from the child's OWN log suffix — where a descriptor is immutable once appended — and not from a fork seed's replayed ancestor descriptor.")
|
|
14551
|
+
}),
|
|
14552
|
+
zod.z.object({
|
|
14553
|
+
"mode": zod.z.literal("continuable").describe("A resumable conversation."),
|
|
14554
|
+
"label": zod.z.string().describe("Durable creation label from the child's descriptor."),
|
|
14555
|
+
"seq": zod.z.number().describe("Seq of the folded descriptor event; see the one-shot arm for the own-suffix proof.")
|
|
14556
|
+
})
|
|
14557
|
+
]).optional().describe("Identity of a descriptor-backed subagent session. `null` ⟺ no valid descriptor (missing, malformed, or unrecognized-version — deliberately undistinguished). The sentinel is deliberately serializable: a value pushed over JSON transports must survive `JSON.stringify` losslessly, where an `undefined` field would be dropped and a stale identity would survive on the receiving side. The entry itself stays non-optional."),
|
|
14558
|
+
"tokenUsage": zod.z.object({
|
|
14559
|
+
"uncachedInputTokens": zod.z.number(),
|
|
14560
|
+
"outputTokens": zod.z.number(),
|
|
14561
|
+
"cacheReadTokens": zod.z.number(),
|
|
14562
|
+
"cacheWriteTokens": zod.z.number()
|
|
14563
|
+
}).optional().describe("Provider-reported usage accumulated across the complete durable log."),
|
|
14564
|
+
"contextPressure": zod.z.object({
|
|
14565
|
+
"pressureTokens": zod.z.number().optional().describe("Provider-reported prompt size of the most recent request: uncached input plus cache reads and writes. Response output is excluded, so this does not grow as the current turn streams. Absent until a provider reports usage."),
|
|
14566
|
+
"projectedTokens": zod.z.number().optional().describe("What the NEXT request's prompt would cost: {@link pressureTokens} plus the heuristic repricing of everything the surface gained or lost since that sample. Only the delta is estimated, so the figure stays anchored to the provider while still reacting the moment a compaction shadows a span — which `pressureTokens` alone cannot do, since compaction reports no usage of its own. Absent until a provider reports usage."),
|
|
14567
|
+
"contextWindow": zod.z.number().optional().describe("Newest recorded route capacity; absent when no adapter advertised one.")
|
|
14568
|
+
}).optional().describe("Newest request pressure paired with the newest known route capacity."),
|
|
14569
|
+
"contextBreakdown": zod.z.object({
|
|
14570
|
+
"systemTokens": zod.z.number().describe("Heuristic tokens of the last nonempty surviving system prompt in surface order; 0 when none exists."),
|
|
14571
|
+
"toolsTokens": zod.z.number().describe("Heuristic tokens of the newest request envelope's tool schemas; 0 before any request."),
|
|
14572
|
+
"messageTokens": zod.z.number().describe("Heuristic tokens of every other visible surface node, including superseded system prompts.")
|
|
14573
|
+
}).optional().describe("Heuristic system/tools/message composition of the next request."),
|
|
14574
|
+
"userQuestions": zod.z.object({
|
|
14575
|
+
"active": zod.z.array(zod.z.object({
|
|
14576
|
+
"callId": zod.z.string().readonly(),
|
|
14577
|
+
"questions": zod.z.array(zod.z.object({
|
|
14578
|
+
"id": zod.z.string().describe("Stable caller-provided question id, echoed in the answer."),
|
|
14579
|
+
"question": zod.z.string().describe("The question to display."),
|
|
14580
|
+
"detail": zod.z.string().optional().describe("Optional supporting detail rendered with the question but kept out of option labels."),
|
|
14581
|
+
"header": zod.z.string().optional().describe("Optional short heading/group label."),
|
|
14582
|
+
"options": zod.z.array(zod.z.object({
|
|
14583
|
+
"label": zod.z.string().describe("User-facing label."),
|
|
14584
|
+
"description": zod.z.string().optional().describe("Optional extra context rendered by capable UIs.")
|
|
14585
|
+
})).optional().describe("Optional choices the UI can render as a menu."),
|
|
14586
|
+
"multiSelect": zod.z.boolean().optional().describe("Whether more than one option may be selected. Defaults to single-select."),
|
|
14587
|
+
"intent": zod.z.union([zod.z.object({
|
|
14588
|
+
"kind": zod.z.literal("plan-review").describe("A plan submitted for review: `detail` is the plan markdown `ask()` requires, and the decision approves or declines it."),
|
|
14589
|
+
"approve": zod.z.string().describe("The option label that approves the plan; every other option declines it. Named rather than positional so no UI infers the verdict from option order. An `approve` naming no option of its own question is rejected at `ask()`."),
|
|
14590
|
+
"callId": zod.z.string().optional().describe("Logged tool invocation whose arguments contain the reviewed plan.")
|
|
14591
|
+
}), zod.z.object({
|
|
14592
|
+
"kind": zod.z.literal("approval").describe("A blocking permission decision with fixed actions and no free-text answer."),
|
|
14593
|
+
"approve": zod.z.string().describe("Option label granting the scope described by the caller."),
|
|
14594
|
+
"reject": zod.z.string().describe("Option label refusing the requested access."),
|
|
14595
|
+
"always": zod.z.string().optional().describe("Optional persistent grant offered only when the caller supports it."),
|
|
14596
|
+
"subject": zod.z.object({
|
|
14597
|
+
"name": zod.z.string(),
|
|
14598
|
+
"icon": zod.z.string().optional()
|
|
14599
|
+
}).optional().describe("Metadata for human recognition; the caller admits icon sources, which the UI may load as URLs. Never an authorization identity."),
|
|
14600
|
+
"display": zod.z.object({
|
|
14601
|
+
"question": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())),
|
|
14602
|
+
"detail": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())).optional(),
|
|
14603
|
+
"approve": zod.z.intersection(zod.z.object({ "en": zod.z.string() }), zod.z.record(zod.z.string(), zod.z.string())).optional()
|
|
14604
|
+
}).optional().describe("Localized question and limited-grant label; fixed cards own reject/always wording. Option labels remain answer values.")
|
|
14605
|
+
})]).optional().describe("Optional presentation intent for capable UIs; absent asks for the generic option list.")
|
|
14606
|
+
})).readonly(),
|
|
14607
|
+
"state": zod.z.union([zod.z.literal("open"), zod.z.literal("continued")]).readonly()
|
|
14608
|
+
})).readonly().describe("Calls that can still take an answer, in ask order."),
|
|
14609
|
+
"settled": zod.z.array(zod.z.object({
|
|
14610
|
+
"callId": zod.z.string().readonly().describe("The settled call."),
|
|
14611
|
+
"answers": zod.z.array(zod.z.object({
|
|
14612
|
+
"id": zod.z.string().describe("The answered question id."),
|
|
14613
|
+
"selected": zod.z.array(zod.z.string()).describe("Selected option labels. May accompany custom text for a multi-select question."),
|
|
14614
|
+
"custom": zod.z.string().optional().describe("Optional free-text \"Other\" answer.")
|
|
14615
|
+
})).readonly().describe("The recorded batch, one entry per question; empty when the late reply carried none.")
|
|
14616
|
+
})).readonly().describe("Calls an answer settled, in settlement order.")
|
|
14617
|
+
}).optional().describe("Timed questions that remain answerable in this Session, and the ones a late reply settled."),
|
|
14618
|
+
"agentTeam": zod.z.object({
|
|
14619
|
+
"members": zod.z.array(zod.z.object({
|
|
14620
|
+
"id": zod.z.string().readonly(),
|
|
14621
|
+
"name": zod.z.string().readonly(),
|
|
14622
|
+
"role": zod.z.union([zod.z.literal("lead"), zod.z.literal("teammate")]).readonly(),
|
|
14623
|
+
"phase": zod.z.union([
|
|
14624
|
+
zod.z.literal("failed"),
|
|
14625
|
+
zod.z.literal("provisioning"),
|
|
14626
|
+
zod.z.literal("active")
|
|
14627
|
+
]).readonly().describe("Durable lifecycle; the Lead row is always `active`. Turn activity comes from Session status."),
|
|
14628
|
+
"error": zod.z.string().readonly().optional()
|
|
14629
|
+
})).readonly(),
|
|
14630
|
+
"tasks": zod.z.array(zod.z.object({
|
|
14631
|
+
"id": zod.z.string().readonly(),
|
|
14632
|
+
"revision": zod.z.number().readonly(),
|
|
14633
|
+
"subject": zod.z.string().readonly(),
|
|
14634
|
+
"description": zod.z.string().readonly(),
|
|
14635
|
+
"status": zod.z.union([
|
|
14636
|
+
zod.z.literal("completed"),
|
|
14637
|
+
zod.z.literal("pending"),
|
|
14638
|
+
zod.z.literal("in_progress"),
|
|
14639
|
+
zod.z.literal("deleted")
|
|
14640
|
+
]).readonly(),
|
|
14641
|
+
"blockedBy": zod.z.array(zod.z.string()).readonly(),
|
|
14642
|
+
"writeScopes": zod.z.array(zod.z.string()).readonly(),
|
|
14643
|
+
"ownerName": zod.z.string().readonly().optional(),
|
|
14644
|
+
"ready": zod.z.boolean().readonly(),
|
|
14645
|
+
"writeScopeWarnings": zod.z.array(zod.z.string()).readonly()
|
|
14646
|
+
})).readonly(),
|
|
14647
|
+
"failure": zod.z.string().readonly().optional()
|
|
14648
|
+
}).optional().describe("Durable roster and non-deleted task board of the Team rooted at the projected Session."),
|
|
14649
|
+
"goal": zod.z.union([zod.z.literal(null), zod.z.object({
|
|
14650
|
+
"goal": zod.z.object({
|
|
14651
|
+
"objective": zod.z.string().readonly().describe("Human-requested completion objective."),
|
|
14652
|
+
"phase": zod.z.union([
|
|
14653
|
+
zod.z.literal("active"),
|
|
14654
|
+
zod.z.literal("paused"),
|
|
14655
|
+
zod.z.literal("blocked"),
|
|
14656
|
+
zod.z.literal("complete")
|
|
14657
|
+
]).readonly().describe("Durable lifecycle phase."),
|
|
14658
|
+
"blockedReason": zod.z.object({
|
|
14659
|
+
"code": zod.z.string().readonly().describe("Stable lower-kebab-case classification chosen by the blocking policy."),
|
|
14660
|
+
"message": zod.z.string().readonly().describe("Non-empty explanation shown to humans and models.")
|
|
14661
|
+
}).readonly().optional().describe("Present exactly while `phase` is `blocked`."),
|
|
14662
|
+
"maxGoalRounds": zod.z.number().readonly().describe("Total admitted goal-round cap."),
|
|
14663
|
+
"id": zod.z.string().readonly().describe("Stable goal identity."),
|
|
14664
|
+
"revision": zod.z.number().readonly().describe("Positive revision; every durable mutation increments it.")
|
|
14665
|
+
}).readonly().describe("Current durable goal snapshot (the CAS ref for mutations rides on it)."),
|
|
14666
|
+
"roundsStarted": zod.z.number().readonly().describe("Highest admitted round number for this goal."),
|
|
14667
|
+
"createdAt": zod.z.number().readonly().describe("Epoch milliseconds of the create mutation."),
|
|
14668
|
+
"updatedAt": zod.z.number().readonly().describe("Epoch milliseconds of the latest mutation.")
|
|
14669
|
+
})]).optional().describe("The session's current goal and admitted-round count, or `null` before the first create and after a clear tombstone. `goal/change` supplies the whole lifecycle value; matching admitted `user/message` events advance `roundsStarted`."),
|
|
14670
|
+
"plan": zod.z.object({
|
|
14671
|
+
"active": zod.z.boolean(),
|
|
14672
|
+
"pending": zod.z.boolean()
|
|
14673
|
+
}).optional().describe("Plan collaboration state folded from the plan command lifecycle and `plan/mode` events.")
|
|
14674
|
+
}), zod.z.record(zod.z.string(), zod.z.json()).readonly()).readonly().describe("Provider-validated values; omitted keys are absent capabilities at this cut.")
|
|
14675
|
+
})).readonly().readonly() }).readonly()
|
|
14676
|
+
}),
|
|
14677
|
+
zod.z.object({
|
|
14678
|
+
"type": zod.z.literal("projection").readonly(),
|
|
14679
|
+
"sessionId": zod.z.string().readonly(),
|
|
14680
|
+
"changes": zod.z.array(zod.z.object({
|
|
14681
|
+
"key": zod.z.string().readonly(),
|
|
14682
|
+
"val": zod.z.json().readonly()
|
|
14683
|
+
})).readonly(),
|
|
14684
|
+
"seq": zod.z.number().readonly()
|
|
14685
|
+
}),
|
|
14686
|
+
zod.z.object({
|
|
14687
|
+
"type": zod.z.literal("projection").readonly(),
|
|
14688
|
+
"sessionId": zod.z.string().readonly(),
|
|
14689
|
+
"key": zod.z.string().readonly(),
|
|
14690
|
+
"value": zod.z.json().readonly(),
|
|
14691
|
+
"seq": zod.z.number().readonly()
|
|
14692
|
+
})
|
|
14693
|
+
]);
|
|
14682
14694
|
let _deepseek_ai_dsh_api_session_controller_session_create_parameter_0$schema$value;
|
|
14683
14695
|
const _deepseek_ai_dsh_api_session_controller_session_create_parameter_0$schema = () => _deepseek_ai_dsh_api_session_controller_session_create_parameter_0$schema$value ??= zod.z.object({
|
|
14684
14696
|
"workspaceId": zod.z.string().readonly().optional().describe("Workspace the Session joins; exclusive with `cwd`."),
|
|
@@ -21502,4 +21514,4 @@ window.__ModuleLoader__.load({
|
|
|
21502
21514
|
}
|
|
21503
21515
|
});
|
|
21504
21516
|
;
|
|
21505
|
-
//# sourceMappingURL=??@deepseek-ai/dsh-api-remotes/client.js.map&rev=
|
|
21517
|
+
//# sourceMappingURL=??@deepseek-ai/dsh-api-remotes/client.js.map&rev=3e8aba9d22bb
|
|
@@ -264,8 +264,8 @@ window.__ModuleLoader__.load({
|
|
|
264
264
|
invalidCount: "Insira um número inteiro de 1 a 50 ou deixe em branco para usar o padrão."
|
|
265
265
|
};
|
|
266
266
|
//#endregion
|
|
267
|
-
//#region \0dsh-css:/Users/chengj
|
|
268
|
-
const css = ".
|
|
267
|
+
//#region \0dsh-css:/Users/chengj/Developer/me/dsh-remote/build/deps/dsh/packages/client/ui-settings-web-search/src/client/WebSearchCard.module.css.mjs
|
|
268
|
+
const css = ".Whv40q_feature{gap:6px;display:grid}.Whv40q_toggleRow{color:var(--dsw-alias-label-primary);justify-content:space-between;align-items:flex-start;gap:16px;font-size:13px;line-height:1.5;display:flex}.Whv40q_hint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:1.5}.Whv40q_link{color:var(--dsw-alias-link);text-decoration:none}@media (hover:hover){.Whv40q_link:hover{text-decoration:underline}}";
|
|
269
269
|
const tagId = "@deepseek-ai/dsh-client-ui-settings-web-search/WebSearchCard.module.css";
|
|
270
270
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
271
271
|
const tag = document.createElement("style");
|
|
@@ -275,10 +275,10 @@ window.__ModuleLoader__.load({
|
|
|
275
275
|
document.head.appendChild(tag);
|
|
276
276
|
}
|
|
277
277
|
var WebSearchCard_module_css_default = {
|
|
278
|
-
"feature": "
|
|
279
|
-
"hint": "
|
|
280
|
-
"link": "
|
|
281
|
-
"toggleRow": "
|
|
278
|
+
"feature": "Whv40q_feature",
|
|
279
|
+
"hint": "Whv40q_hint",
|
|
280
|
+
"link": "Whv40q_link",
|
|
281
|
+
"toggleRow": "Whv40q_toggleRow"
|
|
282
282
|
};
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region lib/types/client/WebSearchCard.js
|
|
@@ -710,4 +710,4 @@ window.__ModuleLoader__.load({
|
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
;
|
|
713
|
-
//# sourceMappingURL=??@deepseek-ai/dsh-client-ui-settings-web-search/client.js.map&rev=
|
|
713
|
+
//# sourceMappingURL=??@deepseek-ai/dsh-client-ui-settings-web-search/client.js.map&rev=b041d32c511e
|