@aeolus-fleet/console 0.38.3 → 0.38.4
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/.next/standalone/packages/console/.next/BUILD_ID +1 -1
- package/.next/standalone/packages/console/.next/build-manifest.json +3 -3
- package/.next/standalone/packages/console/.next/prerender-manifest.json +3 -3
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/labels/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/labels/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/labels/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/network/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/network/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/network/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/settings/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/settings/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/usage/page/server-reference-manifest.json +16 -16
- package/.next/standalone/packages/console/.next/server/app/(console)/usage/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/(console)/usage/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/packages/console/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/packages/console/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/packages/console/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/api/reads/[read]/route.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/api/reports/[procedure]/route.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/app/version/route.js.nft.json +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/_0seg6gza26j4n._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/_150036kwj6wab._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/packages_console_1wbjk69aa7h5_._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_1inzvd-061qyg._.js → 0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_08cnflqx-bnho._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_0a5k9_pc_guhs._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_0dn-qnqn617m3._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{_14dmun8bvt-xu._.js → _0ra9-8f9kytq_._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_0wo7e7auz11u_._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_0x4w6nrkdsia9._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{_0v8dmr12ibgwn._.js → _10dr7x5k5jwsg._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_1bc8get8bkd3e._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{_0zz_9gjuovy4_._.js → _1dtl9gn8rthnm._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{_1-znsbz71cu95._.js → _1e5u79a-vqj47._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{_0rs6g75h7gq53._.js → _1kb7q8g3gn4s-._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_1o8d_ud3d05jw._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/_1u0h4gj3mw97-._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_1gxkekkqr30mt._.js → packages_0_jlb7h3dz_in._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0cvxdaq56an-2._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0deebkzdrt66k._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0fj8fj_dfefer._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0g8wuvm9200dx._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0gb_ab5wr340f._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_1535wq4n18n2n._.js → packages_console_0nob0b_jjg-qn._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0p9496_ahzf02._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0pr_dn_qifobq._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0r1j1ff9-r1oq._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0spsmrxtu1yv7._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0x3yy4k4kl7e0._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0y6ht52r645g9._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_13eoh7dscheba._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_14ijvz4m00kwz._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_01xa5pfr-arji._.js → packages_console_15kt3gz75i770._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1c3b5p3g1fhhe._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1dz1wwzmepxz2._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1ep4nyq96z4tz._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1ltwm3acq1a26._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_0oa0j734rne2i._.js → packages_console_1n-5j4kd2la8c._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1qohymrp8tz2i._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1rkytyhzvvpv7._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1xfs-ahyxqs9h._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_network_network-page_tsx_0qc3h-94fvfmt._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_0nxctwffpe5m2._.js → packages_console_components_1x2i5efa5q_cf._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_08mi193hcycab._.js → packages_console_features_0da78jx0e3cq0._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_sealing_ui_organisms_0v9iwgt7348gw._.js → packages_console_features_sealing_ui_organisms_0kfpwa0ail6up._.js} +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_squadrons-api_ts_0-ls9zi1hw-2n._.js +1 -1
- package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_trierarch-plugin_ts_1yl4g4k1mmd8u._.js +1 -1
- package/.next/standalone/packages/console/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/packages/console/.next/server/pages/500.html +1 -1
- package/.next/standalone/packages/console/.next/server/preview-props.json +3 -3
- package/.next/standalone/packages/console/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/packages/console/.next/server/server-reference-manifest.json +17 -17
- package/.next/standalone/packages/console/.next/static/chunks/{3-0cc3pea26tf.js → 01hk4wlxcq2gi.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/06nab7vwto0s4.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/0gt_pyz2nqv1m.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/1aynf3adj0zpg.js +2 -0
- package/.next/standalone/packages/console/.next/static/chunks/1gdrw1961quu2.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/{1quvq2segq7-1.js → 1jku9thualvnw.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/{2jxdgyyoc8ujt.js → 2790w36ws03yn.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/{3hk3xngy-xr__.js → 2anv40wc-3gob.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/{1iio-tex3wc36.js → 2bkv9kyvtvirl.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/{129tg49b_0k4s.js → 2df691xtshd2z.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/{1vu6srxdeiri2.js → 2jsadqw08zfmz.js} +1 -1
- package/.next/standalone/packages/console/.next/static/chunks/369f-898qtf5l.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/3ece9nj2sd8t8.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/3ezwze7zptyhf.js +1 -0
- package/.next/standalone/packages/console/.next/static/chunks/{3qsh6xvy1mjy3.js → 3qh3ygi9msfxs.js} +1 -1
- package/.next/standalone/packages/console/package.json +4 -4
- package/package.json +4 -4
- package/.next/standalone/packages/console/.next/static/chunks/0ayrppi2sb8x-.js +0 -1
- package/.next/standalone/packages/console/.next/static/chunks/0tsf8dsbebof6.js +0 -1
- package/.next/standalone/packages/console/.next/static/chunks/2083m6quv7ats.js +0 -1
- package/.next/standalone/packages/console/.next/static/chunks/2m-k8md1vxk3p.js +0 -2
- package/.next/standalone/packages/console/.next/static/chunks/31x9xqj1wbqss.js +0 -1
- package/.next/standalone/packages/console/.next/static/chunks/3lz5u176f5ugk.js +0 -1
- package/.next/standalone/packages/console/.next/static/chunks/4214er1of97ug.js +0 -1
- /package/.next/standalone/packages/console/.next/static/{DpbbcwlYBxzL3q3BIXKCQ → _QhG3av2o3PCJ4_0qfEHi}/_buildManifest.js +0 -0
- /package/.next/standalone/packages/console/.next/static/{DpbbcwlYBxzL3q3BIXKCQ → _QhG3av2o3PCJ4_0qfEHi}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/packages/console/.next/static/{DpbbcwlYBxzL3q3BIXKCQ → _QhG3av2o3PCJ4_0qfEHi}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[146576,e=>{var t=e.i(562810);e.s(["z",0,t])},530389,925440,e=>{var t=e.i(562810);e.s(["z",0,t],530389);let i=new TextEncoder;e.s(["D",0,262144,"y",0,function(e){return i.encode(e).byteLength}],925440)},226247,374784,e=>{var t=e.i(562810);e.s(["z",0,t],226247),e.s(["z",0,t],374784)},796142,369311,e=>{let t=`Use 1 to ${String(48)} lowercase letters, digits, hyphens or colons`;e.s(["Z",0,48,"o",0,t,"V",0,/^[a-z0-9:-]+$/],796142);let i=e.i(105954).z.string().min(1).max(256);e.s(["f",0,i],369311)},759715,634189,991329,e=>{var t=e.i(604147),i=e.i(123387),n=e.i(146576),a=e.i(106132),s=e.i(105954),l=e.i(180473),r=e.i(971724),o=e.i(600205),z=e.i(964171),c=e.i(530389),d=e.i(140561),b=e.i(857897),p=e.i(422412),m=e.i(925440),u=e.i(709075),g=e.i(579247);let h=t.z.enum(["crew-request-unassigned","delivery-unacknowledged","delivery-overdue","ping-unanswered","report-unchanged","task-not-done"]),j=i.z.iso.datetime({offset:!0}),y=n.z.int().min(1),f=a.z.strictObject({settingsVersion:n.z.int().min(1),minutes:y,reason:s.z.string().nullable()}),v=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),state:t.z.enum(["pending","received","handed"]),awaitingCrew:l.z.boolean(),minutes:y}),k=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),overdueEventId:(0,p.f)("event")}),I=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),minutes:y}),w=a.z.strictObject({reportChangedAt:j,state:t.z.enum(["working","blocked"]),minutes:y,setBy:(0,p.f)("ship")}),A=a.z.strictObject({task:g.W,doneBy:j,setBy:(0,p.f)("ship")}),x=[r.z.object({signal:o.z.literal("crew-request-unassigned"),facts:f}),r.z.object({signal:o.z.literal("delivery-unacknowledged"),facts:v}),r.z.object({signal:o.z.literal("delivery-overdue"),facts:k}),r.z.object({signal:o.z.literal("ping-unanswered"),facts:I}),r.z.object({signal:o.z.literal("report-unchanged"),facts:w}),r.z.object({signal:o.z.literal("task-not-done"),facts:A})],O=z.z.discriminatedUnion("signal",x);c.z.intersection(r.z.object({alertId:(0,p.f)("alert"),headline:s.z.string().min(1).max(80),body:s.z.string().refine(e=>2048>=(0,m.y)(e),`A body is at most ${String(2048)} bytes`),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),fleetId:(0,p.f)("fleet"),toldAs:t.z.enum(["owner","setter"]),since:j,raisedAt:j}),O).refine(e=>8192>=(0,m.y)(JSON.stringify(e)),`An alert message is at most ${String(8192)} bytes`),r.z.object({shipId:(0,p.f)("ship"),signal:h,facts:d.z.union([f,v,k,I,w,A]),occurrenceKey:s.z.string().min(1).max(200),since:j}).transform(({shipId:e,signal:t,facts:i,occurrenceKey:n,since:a},s)=>{let l=O.safeParse({signal:t,facts:i});return l.success?{shipId:e,occurrenceKey:n,since:a,...l.data}:(s.addIssue({code:"custom",message:"The facts are not the signal's",path:["facts"]}),b.z.NEVER)}),r.z.object({alertId:(0,p.f)("alert")});let S=t.z.enum(["cleared","retired"]),C=c.z.intersection(r.z.object({id:(0,p.f)("alert"),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),occurrenceKey:s.z.string(),ownerShipId:(0,p.f)("ship").nullable(),since:i.z.iso.datetime(),raisedAt:i.z.iso.datetime(),cleared:r.z.object({at:i.z.iso.datetime(),why:S}).nullable()}),O);(0,u.G)((0,p.f)("alert")).optional(),(0,u._)(C,(0,p.f)("alert")),e.s(["f",0,C],759715);var D=e.i(106320);let $=n.z.int().min(5).max(10080);r.z.object({shipId:(0,p.f)("ship"),reportChangesWithin:$.nullable().optional(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime({offset:!0})}).nullable().optional()}),a.z.strictObject({});let B=z.z.discriminatedUnion("kind",[r.z.object({kind:o.z.literal("ship"),shipId:(0,p.f)("ship")}),r.z.object({kind:o.z.literal("account"),accountId:D.f}),r.z.object({kind:o.z.literal("installation")})]),T=r.z.object({reportChangesWithin:r.z.object({minutes:n.z.int(),setBy:B,setAt:i.z.iso.datetime()}).nullable(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime(),setBy:B,setAt:i.z.iso.datetime()}).nullable()});e.s(["f",0,T],634189);var V=e.i(562810);e.s(["z",0,V],991329)},664358,596282,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(604147),s=e.i(971724),l=e.i(146576),r=e.i(106132),o=e.i(123387),z=e.i(455744),c=e.i(180473),d=e.i(422412);new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=["crewing","running","restarting","crashed","releasing"],m=a.z.enum(p),u=["none","needsCrew","crewedByHand",...p],g=a.z.enum(u),h=`A reason is one line of at most ${String(200)} characters`;s.z.object({shipId:(0,d.f)("ship"),settings:b}),s.z.object({settingsVersion:l.z.int().min(1)}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({});let j=s.z.object({settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),assignedTo:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),status:m.nullable(),reason:i.z.string().nullable(),crewedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),attempt:l.z.int().min(0),startedAt:o.z.iso.datetime().nullable(),givenBack:z.z.array(s.z.object({trierarch:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}),settingsVersion:l.z.int().min(1),reason:i.z.string(),givenBackAt:o.z.iso.datetime()}))}),y=j.extend({settings:b});s.z.object({shipId:(0,d.f)("ship"),trierarchShipId:(0,d.f)("ship")}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),status:m,attempt:l.z.int().min(0).optional(),startedAt:o.z.iso.datetime().nullable().optional()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({}),z.z.array(s.z.object({shipId:(0,d.f)("ship"),settings:b,settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),status:m.nullable(),isFinal:c.z.boolean(),ownerShipId:(0,d.f)("ship").nullable(),ownerName:i.z.string().nullable()})),s.z.object({shipId:(0,d.f)("ship"),reason:i.z.string().trim().max(200,h).refine(e=>!/[\r\n]/.test(e),h).nullable()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),settingsVersion:l.z.int().min(1),reason:i.z.string().trim().min(1,h).max(200,h).refine(e=>!/[\r\n]/.test(e),h)}),r.z.strictObject({}),e.s(["k",0,g,"M",0,y,"u",0,m,"i",0,j],664358),e.s(["f",0,["alert","awaitingCrew","blocked","working","idle"]],596282)},396185,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(123387),s=e.i(180473),l=e.i(106132),r=e.i(146576),o=e.i(604147),z=e.i(600205),c=e.i(140561),d=e.i(206033),b=e.i(964171),p=e.i(495494),m=e.i(422412),u=e.i(106320),g=e.i(796142),h=e.i(369311),j=e.i(664358),y=e.i(737258),f=e.i(709075),v=e.i(992328),k=e.i(579247);let I=t.z.string().max(g.Z,g.o).regex(g.V,g.o);i.z.object({name:I,type:I,kind:p.$.optional(),scopes:n.z.array(p.q).optional(),valueIds:n.z.array((0,m.f)("labelValue")).max(y.b).optional(),ownerOf:(0,m.f)("ship").optional(),owner:(0,m.f)("ship").optional(),note:t.z.string().trim().max(500,"A note is at most 500 characters").optional(),idempotencyKey:h.f}),i.z.object({shipId:(0,m.f)("ship")});let w=i.z.object({harness:t.z.string(),line:t.z.string()});i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string(),crewLines:n.z.array(w),secret:t.z.string()}),i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string().nullable(),crewLines:n.z.array(w).nullable(),secret:t.z.string().nullable(),startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable()}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),name:I}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),ownerShipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),i.z.object({abandonedDeliveries:r.z.int().min(0)}),i.z.object({shipId:(0,m.f)("ship")});let A=o.z.enum(["waiting","answered","acknowledged","undeliverable"]),x=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),kind:p.v,status:p.e,startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable(),location:i.z.object({kind:p.p,description:t.z.string().nullable()}).nullable(),lastSeenAt:a.z.iso.datetime().nullable(),ping:i.z.object({state:A,sentAt:a.z.iso.datetime(),answeredAt:a.z.iso.datetime().nullable()}).nullable(),harness:t.z.string().nullable(),model:i.z.object({id:t.z.string(),statedAt:a.z.iso.datetime()}).nullable(),scopes:n.z.array(p.q),report:k.H.nullable(),activity:v.f.nullable(),crewRequest:j.i.nullable(),labels:n.z.array(y.B),awaitingCrewSince:a.z.iso.datetime().nullable(),retiredAt:a.z.iso.datetime().nullable(),ownerShipId:(0,m.f)("ship").nullable(),openAlertCount:r.z.int().min(0)}),O=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),status:p.e,isInReadReach:z.z.literal(!1)}),S=(0,f._)(c.z.union([x,O]),t.z.string()),C=c.z.union([x,O]);n.z.array(i.z.object({kind:p.v,active:r.z.int().min(0),crewed:r.z.int().min(0),awaitingCrew:r.z.int().min(0),retired:r.z.int().min(0),needsCrew:i.z.object({withTrierarchs:r.z.int().min(0),withoutTrierarchs:r.z.int().min(0)}),longestWait:i.z.object({id:(0,m.f)("ship"),name:t.z.string(),awaitingCrewSince:a.z.iso.datetime()}).nullable()})),i.z.object({lastEventId:t.z.string().regex(/^\d{1,15}$/,"A position is the number of an event").nullish()});let D=i.z.object({seq:d.z.number().int().positive(),id:(0,m.f)("event"),type:p.Q,occurredAt:a.z.iso.datetime(),actorKind:o.z.enum(["ship","account","installation","system"]),actorShipId:(0,m.f)("ship").nullable(),actorAccountId:u.f.nullable(),actorSignedInAccountId:u.f.nullable(),shipId:(0,m.f)("ship").nullable(),messageId:(0,m.f)("message").nullable(),deliveryId:(0,m.f)("delivery").nullable()});b.z.discriminatedUnion("kind",[i.z.object({kind:z.z.literal("event"),event:D}),i.z.object({kind:z.z.literal("resync")})]),i.z.object({ships:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0)}),dailyMessages:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0),resetsAt:a.z.iso.datetime()}),retention:i.z.object({days:r.z.int().min(1).nullable(),keptFrom:a.z.iso.datetime().nullable()})}),e.s(["z",0,w,"d",0,S,"k",0,C,"u",0,x,"g",0,I,"x",0,O])},625792,903520,e=>{var t=e.i(759715),i=e.i(634189),n=e.i(123387),a=e.i(971724),s=e.i(105954),l=e.i(964171),r=e.i(600205),o=e.i(455744),z=e.i(146576),c=e.i(140561),d=e.i(206033),b=e.i(180473),p=e.i(226247),m=e.i(991329),u=e.i(604147),g=e.i(495494),h=e.i(422412),j=e.i(106320),y=e.i(396185),f=e.i(664358),v=e.i(579247),k=e.i(709075),I=e.i(106132),w=e.i(374784),A=e.i(925440),x=e.i(369311),O=e.i(737258);let S="[!#$%&'*+\\-.^_`|~0-9A-Za-z]+",C="[ \\t]*",D=RegExp(`^${S}/${S}(?:${C};${C}(?:${S}=(?:${S}|"(?:[\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*"))?)*$`),$="A content type is a media type such as text/plain or application/json; charset=utf-8, of at most 256 characters",B=s.z.string().max(256,$).refine(function(e){return D.test(e)},$),T=s.z.string().trim().min(1,"A model is the exact model id the session runs, such as claude-opus-5-5").max(100,`A model is at most ${String(100)} characters`).regex(/^\S+$/,"A model id has no spaces"),V=I.z.strictObject({kind:r.z.literal("label"),valueIds:o.z.array((0,h.f)("labelValue")).min(1,"A label selection names at least one value id").max(O.b,`A label selection names at most ${String(O.b)} value ids, as many as a ship carries`).refine(e=>new Set(e).size===e.length,"A label selection names each value id once")}),U=c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),I.z.strictObject({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),V]);c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),V]);let q=s.z.string().refine(e=>(0,A.y)(e)<=A.D,`A payload is at most ${A.D} bytes (256 KB) in UTF-8`),E=a.z.object({selector:U,payload:q,contentType:B.optional(),model:T.optional(),idempotencyKey:x.f,inReplyTo:(0,h.f)("message").optional(),isForced:b.z.boolean().optional()});a.z.object({messageId:(0,h.f)("message")}),e.s(["J",0,B,"l",0,E],903520),u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain","oauthSubject"]);let P=s.z.string().min(1).max(255),H=l.z.discriminatedUnion("checked",[I.z.strictObject({checked:u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain"]),value:P}),I.z.strictObject({checked:r.z.literal("oauthSubject"),issuer:s.z.string().min(1).max(2048),value:P})]);function R(e){return JSON.stringify([e.checked,"issuer"in e?e.issuer:null,e.value])}a.z.object({shipId:(0,h.f)("ship"),facts:o.z.array(H).max(10,`A writer holds at most ${String(10)} facts about a ship`).refine(e=>new Set(e.map(R)).size===e.length,"Each fact once")}),I.z.strictObject({});let N={by:l.z.discriminatedUnion("kind",[I.z.strictObject({kind:r.z.literal("ship"),id:(0,h.f)("ship"),name:s.z.string()}),I.z.strictObject({kind:r.z.literal("account"),id:j.f}),I.z.strictObject({kind:r.z.literal("installation")})]),at:n.z.iso.datetime()},F=l.z.discriminatedUnion("checked",[H.options[0].extend(N),H.options[1].extend(N)]),M=p.z.record(s.z.string(),w.z.json()),W=I.z.strictObject({title:s.z.string().optional(),readOnlyHint:b.z.boolean().optional(),destructiveHint:b.z.boolean().optional(),idempotentHint:b.z.boolean().optional(),openWorldHint:b.z.boolean().optional()}),_=o.z.array(B).min(1,"Name at least one media type"),K=I.z.strictObject({name:s.z.string().regex(/^[A-Za-z0-9_.-]{1,128}$/,"A capability name is 1 to 128 letters, digits, _, - or ., as MCP names a tool"),title:s.z.string().optional(),description:s.z.string().optional(),inputSchema:M.optional(),outputSchema:M.optional(),inputModes:_.optional(),outputModes:_.optional(),waitMs:z.z.int().min(0).max(12e4).optional(),deadlineMs:z.z.int().min(1).max(6048e5).optional(),repeatable:b.z.boolean().optional(),scopes:o.z.array(g.q).optional(),annotations:W.optional()}),G=new TextEncoder,J=`A statement is at most ${String(262144)} bytes (256 KB) as JSON in UTF-8`;I.z.strictObject({summary:s.z.string().trim().min(1,"A statement has a summary").max(1e3,`A summary is at most ${String(1e3)} characters`),capabilities:o.z.array(K)}).refine(e=>new Set(e.capabilities.map(e=>e.name)).size===e.capabilities.length,{message:"A statement names each capability once",path:["capabilities"]}).refine(e=>G.encode(JSON.stringify(e)).byteLength<=262144,{message:J}),a.z.object({version:z.z.int().min(1)});let L=l.z.discriminatedUnion("by",[a.z.object({by:r.z.literal("crew"),version:z.z.int().min(1),summary:s.z.string(),capabilities:o.z.array(K)}),a.z.object({by:r.z.literal("commission"),note:s.z.string()})]).nullable();a.z.object({ships:o.z.array(a.z.object({id:(0,h.f)("ship"),name:s.z.string(),type:s.z.string(),kind:g.v,status:g.e,statement:L,verified:o.z.array(F)})),types:o.z.array(a.z.object({type:s.z.string(),reachable:z.z.int().min(1)}))});let Y=u.z.enum(["idle","busy"]);a.z.object({turn:Y,at:n.z.iso.datetime()}),I.z.strictObject({});let Z=n.z.iso.datetime(),Q=a.z.object({id:(0,h.f)("ship"),name:s.z.string()}),X=a.z.object({valueId:(0,h.f)("labelValue"),key:s.z.string().nullable(),value:s.z.string().nullable()}),ee=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("ship"),ship:Q}),a.z.object({kind:r.z.literal("type"),type:s.z.string()}),a.z.object({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),a.z.object({kind:r.z.literal("label"),values:o.z.array(X).readonly()})]),et=a.z.object({shipId:(0,h.f)("ship")}),ei=y.u.extend({report:v.Y.extend({detailsBytes:z.z.int().min(0).nullable()}).nullable(),crewRequest:f.M.nullable(),commissionedAt:Z,crewedSince:Z.nullable(),removedAt:Z.nullable(),inFlightDeliveries:z.z.int().min(0),openDeliveries:z.z.int().min(0),owner:Q.nullable(),commissionedByShipId:(0,h.f)("ship").nullable(),statement:L,openAlerts:o.z.array(t.f),expectations:i.f}),en=c.z.union([ei,y.x]),ea=a.z.object({seq:d.z.number().int().positive(),id:(0,h.f)("event"),type:g.Q,occurredAt:Z,actor:Q.nullable(),signedInAccountId:j.f.nullable(),ship:Q.nullable(),message:a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,contentType:s.z.string(),isPing:b.z.boolean(),model:s.z.string().nullable()}).nullable(),details:p.z.record(s.z.string(),c.z.union([s.z.string(),d.z.number(),b.z.boolean(),m.z.null()]))});et.extend((0,k.G)((0,h.f)("event")).shape),(0,k._)(ea,(0,h.f)("event"));let es=a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,inReplyTo:(0,h.f)("message").nullable(),sentAt:Z,contentType:s.z.string(),model:s.z.string().nullable(),preview:s.z.string(),isPayloadUnreadable:b.z.boolean(),isPayloadSealed:b.z.boolean(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,claimedBy:Q.nullable(),isPulled:b.z.boolean()})});et.extend((0,k.G)((0,h.f)("message")).shape),(0,k._)(es,(0,h.f)("message"));let el=a.z.object({messageId:(0,h.f)("message")}),er=u.z.enum(["notConfirmed","idle","busy"]),eo=u.z.enum(["released","retired","deregistered","takenOver","signedOut","passwordReset","accountCutOff"]);u.z.enum(["trierarch","pluginWatcher","personApp","gateway","adapter"]);let ez=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("trierarch"),trierarch:Q}),a.z.object({kind:r.z.literal("pluginWatcher")}),a.z.object({kind:r.z.literal("personApp")}),a.z.object({kind:r.z.literal("gateway")}),a.z.object({kind:r.z.literal("adapter")})]),ec=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("fleet")}),...ez.options,a.z.object({kind:r.z.literal("agent")})]),ed=a.z.object({seq:d.z.number().int().positive(),type:u.z.enum(["MessageAccepted","DeliveryReceived","DeliveryHanded","DeliveryReturned","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryAbandoned","DeliveryDismissed"]),occurredAt:Z,ship:Q.nullable(),location:a.z.object({kind:g.p,description:s.z.string().nullable()}).nullable(),harness:s.z.string().nullable(),attempts:d.z.number().int().nonnegative().nullable(),by:ez.nullable(),handOverNumber:z.z.int().min(1).nullable(),channel:s.z.string().nullable(),isAgain:b.z.boolean(),isOnceMore:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1)}).nullable(),leaseEnd:eo.nullable()}),eb=a.z.object({holder:ec.nullable(),since:Z,isPulled:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1),toldAt:Z}).nullable(),lease:a.z.object({by:ez.nullable(),isEnded:b.z.boolean(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),crew:a.z.object({status:f.u,attempt:z.z.int().min(0),startedAt:Z.nullable()}).nullable()}),ep=a.z.object({id:(0,h.f)("message"),sender:Q,sentAt:Z}),em=a.z.object({id:(0,h.f)("delivery"),ship:Q.nullable(),state:g.h,since:Z,progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()}),eu=es.omit({preview:!0,delivery:!0}).extend({payload:s.z.string(),replies:o.z.array(ep),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:d.z.number().int().nonnegative(),claimedBy:Q.nullable(),way:eb,history:o.z.array(ed)}),deliveryCount:z.z.int().min(0),progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()});el.extend((0,k.G)((0,h.f)("delivery")).shape),(0,k._)(em,(0,h.f)("delivery")),a.z.object({lease:a.z.object({by:ez.nullable(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),waiting:z.z.int().min(0),oldest:a.z.object({messageId:(0,h.f)("message"),sentAt:Z,contentType:s.z.string(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:z.z.int().min(0),way:eb})}).nullable()}),e.s(["V",0,eu,"l",0,Q,"h",0,en],625792)},737258,992328,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(964171),s=e.i(600205),l=e.i(146576),r=e.i(604147),o=e.i(180473),z=e.i(495494),c=e.i(422412),d=e.i(596282),b=e.i(664358),p=e.i(709075);let m=t.z.string(),u=i.z.object({id:(0,c.f)("labelValue"),value:t.z.string()}),g=i.z.object({labelId:(0,c.f)("label"),key:t.z.string(),valueId:(0,c.f)("labelValue"),value:t.z.string()}),h=r.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),j=i.z.object({query:t.z.string().optional(),nameQuery:t.z.string().optional(),name:t.z.string().optional(),status:n.z.array(z.e).optional(),type:n.z.array(t.z.string()).optional(),shipKind:n.z.array(z.v).optional(),crewRequest:n.z.array(b.k).optional(),assignedTo:n.z.array((0,c.f)("ship")).optional(),needsCrew:r.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:n.z.array((0,c.f)("labelValue")).optional(),shipIds:n.z.array((0,c.f)("ship")).optional(),kind:n.z.array(h).optional(),pluginShipIds:n.z.array((0,c.f)("ship")).optional(),state:n.z.array(r.z.enum(d.f)).optional()});i.z.object({filter:j.optional()}).optional(),i.z.object({status:n.z.array(z.e).optional()}).optional(),n.z.array(i.z.object({type:t.z.string(),ships:l.z.int().min(0)}));let y=i.z.object({column:r.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:r.z.enum(["ascending","descending"])}),f=i.z.object({isEmpty:o.z.boolean(),value:t.z.string(),name:t.z.string(),id:(0,c.f)("ship")}),v=t.z.string().max(4096).transform(function(e){try{let t=atob(e.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(t,e=>e.charCodeAt(0))))}catch{return}}).pipe(f);(0,p.G)(v).extend({...j.shape,sort:y.optional()}).optional(),i.z.object({key:m,values:n.z.array(m)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(m)}),i.z.object({values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label")}),i.z.object({key:m,value:m}),i.z.object({labelId:(0,c.f)("label"),valueId:(0,c.f)("labelValue")}),i.z.object({shipId:(0,c.f)("ship"),valueId:(0,c.f)("labelValue")}),i.z.object({});let k=a.z.discriminatedUnion("kind",[i.z.object({kind:s.z.literal("ship"),id:(0,c.f)("ship"),name:t.z.string()}),i.z.object({kind:s.z.literal("installation")})]),I=i.z.object({id:(0,c.f)("label"),key:t.z.string(),values:n.z.array(u),owner:k});n.z.array(I.extend({shipCount:l.z.int().min(0),values:n.z.array(u.extend({shipCount:l.z.int().min(0)}))})),e.s(["b",0,20,"B",0,g],737258);var w=e.i(123387);let A=r.z.enum(["text","tool","result","error"]);i.z.object({intervalSeconds:l.z.int().min(1).max(86400),activities:n.z.array(i.z.object({shipId:(0,c.f)("ship"),at:w.z.iso.datetime(),kind:A,tool:t.z.string().trim().min(1).max(100).optional()})).min(1).max(100)}),i.z.object({refused:n.z.array(i.z.object({shipId:(0,c.f)("ship"),code:t.z.string(),message:t.z.string()}))});let x=i.z.object({at:w.z.iso.datetime(),kind:A,tool:t.z.string().nullable(),reportedAt:w.z.iso.datetime(),intervalSeconds:l.z.int().min(1)});e.s(["f",0,x],992328)},709075,691141,e=>{var t=e.i(971724),i=e.i(146576),n=e.i(455744);e.s(["f",0,500],691141),e.s(["G",0,function(e){return t.z.object({cursor:e.optional(),limit:i.z.int().min(1).max(500).optional()})},"_",0,function(e,i){return t.z.object({items:n.z.array(e),nextCursor:i.nullable()})}],709075)},579247,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(971724),s=e.i(206033),l=e.i(106132),r=e.i(180473),o=e.i(123387),z=e.i(146576);let c=e.i(604147).z.enum(["working","blocked","idle"]),d=`A note is one line of at most ${String(200)} characters`;new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=a.z.object({kind:i.z.string()}).catchall(n.z.json()),m=a.z.object({at:s.z.number(),of:s.z.number()});a.z.object({state:c,note:i.z.string().trim().max(200,d).refine(function(e){return!/[\r\n]/.test(e)},d).optional(),details:b.nullable().optional(),detailsPatch:b.nullable().optional(),task:p.nullable().optional(),step:m.nullable().optional()}).refine(e=>void 0===e.details||void 0===e.detailsPatch,{message:"Give details or detailsPatch, not both",path:["detailsPatch"]}),l.z.strictObject({});let u=a.z.object({state:c,note:i.z.string().nullable(),task:p.nullable(),taskView:a.z.object({canOpen:r.z.boolean(),fleetName:i.z.string().nullable()}).optional(),step:m.nullable(),reportedAt:o.z.iso.datetime(),reportChangedAt:o.z.iso.datetime(),detailsVersion:z.z.int().min(0)}),g=u.extend({details:b.nullable()});a.z.object({report:g.nullable(),previousCrew:g.nullable()}),e.s(["H",0,u,"Y",0,g,"W",0,p])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[146576,e=>{var t=e.i(562810);e.s(["z",0,t])},530389,925440,e=>{var t=e.i(562810);e.s(["z",0,t],530389);let i=new TextEncoder;e.s(["D",0,262144,"y",0,function(e){return i.encode(e).byteLength}],925440)},226247,374784,e=>{var t=e.i(562810);e.s(["z",0,t],226247),e.s(["z",0,t],374784)},796142,369311,e=>{let t=`Use 1 to ${String(48)} lowercase letters, digits, hyphens or colons`;e.s(["Z",0,48,"o",0,t,"V",0,/^[a-z0-9:-]+$/],796142);let i=e.i(105954).z.string().min(1).max(256);e.s(["f",0,i],369311)},759715,634189,991329,e=>{var t=e.i(604147),i=e.i(123387),n=e.i(146576),a=e.i(106132),s=e.i(105954),l=e.i(180473),r=e.i(971724),o=e.i(600205),z=e.i(964171),c=e.i(530389),d=e.i(140561),b=e.i(857897),p=e.i(422412),m=e.i(925440),u=e.i(709075),g=e.i(579247);let h=t.z.enum(["crew-request-unassigned","delivery-unacknowledged","delivery-overdue","ping-unanswered","report-unchanged","task-not-done"]),j=i.z.iso.datetime({offset:!0}),y=n.z.int().min(1),f=a.z.strictObject({settingsVersion:n.z.int().min(1),minutes:y,reason:s.z.string().nullable()}),v=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),state:t.z.enum(["pending","received","handed"]),awaitingCrew:l.z.boolean(),minutes:y}),k=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),overdueEventId:(0,p.f)("event")}),I=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),minutes:y}),w=a.z.strictObject({reportChangedAt:j,state:t.z.enum(["working","blocked"]),minutes:y,setBy:(0,p.f)("ship")}),A=a.z.strictObject({task:g.W,doneBy:j,setBy:(0,p.f)("ship")}),x=[r.z.object({signal:o.z.literal("crew-request-unassigned"),facts:f}),r.z.object({signal:o.z.literal("delivery-unacknowledged"),facts:v}),r.z.object({signal:o.z.literal("delivery-overdue"),facts:k}),r.z.object({signal:o.z.literal("ping-unanswered"),facts:I}),r.z.object({signal:o.z.literal("report-unchanged"),facts:w}),r.z.object({signal:o.z.literal("task-not-done"),facts:A})],O=z.z.discriminatedUnion("signal",x);c.z.intersection(r.z.object({alertId:(0,p.f)("alert"),headline:s.z.string().min(1).max(80),body:s.z.string().refine(e=>2048>=(0,m.y)(e),`A body is at most ${String(2048)} bytes`),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),fleetId:(0,p.f)("fleet"),toldAs:t.z.enum(["owner","setter"]),since:j,raisedAt:j}),O).refine(e=>8192>=(0,m.y)(JSON.stringify(e)),`An alert message is at most ${String(8192)} bytes`),r.z.object({shipId:(0,p.f)("ship"),signal:h,facts:d.z.union([f,v,k,I,w,A]),occurrenceKey:s.z.string().min(1).max(200),since:j}).transform(({shipId:e,signal:t,facts:i,occurrenceKey:n,since:a},s)=>{let l=O.safeParse({signal:t,facts:i});return l.success?{shipId:e,occurrenceKey:n,since:a,...l.data}:(s.addIssue({code:"custom",message:"The facts are not the signal's",path:["facts"]}),b.z.NEVER)}),r.z.object({alertId:(0,p.f)("alert")});let S=t.z.enum(["cleared","retired"]),C=c.z.intersection(r.z.object({id:(0,p.f)("alert"),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),occurrenceKey:s.z.string(),ownerShipId:(0,p.f)("ship").nullable(),since:i.z.iso.datetime(),raisedAt:i.z.iso.datetime(),cleared:r.z.object({at:i.z.iso.datetime(),why:S}).nullable()}),O);(0,u.G)((0,p.f)("alert")).optional(),(0,u._)(C,(0,p.f)("alert")),e.s(["f",0,C],759715);var D=e.i(106320);let $=n.z.int().min(5).max(10080);r.z.object({shipId:(0,p.f)("ship"),reportChangesWithin:$.nullable().optional(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime({offset:!0})}).nullable().optional()}),a.z.strictObject({});let B=z.z.discriminatedUnion("kind",[r.z.object({kind:o.z.literal("ship"),shipId:(0,p.f)("ship")}),r.z.object({kind:o.z.literal("account"),accountId:D.f}),r.z.object({kind:o.z.literal("installation")})]),T=r.z.object({reportChangesWithin:r.z.object({minutes:n.z.int(),setBy:B,setAt:i.z.iso.datetime()}).nullable(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime(),setBy:B,setAt:i.z.iso.datetime()}).nullable()});e.s(["f",0,T],634189);var V=e.i(562810);e.s(["z",0,V],991329)},664358,596282,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(604147),s=e.i(971724),l=e.i(146576),r=e.i(106132),o=e.i(123387),z=e.i(455744),c=e.i(180473),d=e.i(422412);new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=["crewing","running","restarting","crashed","releasing"],m=a.z.enum(p),u=["none","needsCrew","crewedByHand",...p],g=a.z.enum(u),h=`A reason is one line of at most ${String(200)} characters`;s.z.object({shipId:(0,d.f)("ship"),settings:b}),s.z.object({settingsVersion:l.z.int().min(1)}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({});let j=s.z.object({settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),assignedTo:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),requestedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),status:m.nullable(),reason:i.z.string().nullable(),crewedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),attempt:l.z.int().min(0),startedAt:o.z.iso.datetime().nullable(),givenBack:z.z.array(s.z.object({trierarch:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}),settingsVersion:l.z.int().min(1),reason:i.z.string(),givenBackAt:o.z.iso.datetime()}))}),y=j.extend({settings:b});s.z.object({shipId:(0,d.f)("ship"),trierarchShipId:(0,d.f)("ship")}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),status:m,attempt:l.z.int().min(0).optional(),startedAt:o.z.iso.datetime().nullable().optional()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({}),z.z.array(s.z.object({shipId:(0,d.f)("ship"),settings:b,settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),status:m.nullable(),isFinal:c.z.boolean(),ownerShipId:(0,d.f)("ship").nullable(),ownerName:i.z.string().nullable()})),s.z.object({shipId:(0,d.f)("ship"),reason:i.z.string().trim().max(200,h).refine(e=>!/[\r\n]/.test(e),h).nullable()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),settingsVersion:l.z.int().min(1),reason:i.z.string().trim().min(1,h).max(200,h).refine(e=>!/[\r\n]/.test(e),h)}),r.z.strictObject({}),e.s(["k",0,g,"M",0,y,"u",0,m,"i",0,j],664358),e.s(["f",0,["alert","awaitingCrew","blocked","working","idle"]],596282)},396185,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(123387),s=e.i(180473),l=e.i(106132),r=e.i(146576),o=e.i(604147),z=e.i(600205),c=e.i(140561),d=e.i(206033),b=e.i(964171),p=e.i(495494),m=e.i(422412),u=e.i(106320),g=e.i(796142),h=e.i(369311),j=e.i(664358),y=e.i(737258),f=e.i(709075),v=e.i(992328),k=e.i(579247);let I=t.z.string().max(g.Z,g.o).regex(g.V,g.o);i.z.object({name:I,type:I,kind:p.$.optional(),scopes:n.z.array(p.q).optional(),valueIds:n.z.array((0,m.f)("labelValue")).max(y.b).optional(),ownerOf:(0,m.f)("ship").optional(),owner:(0,m.f)("ship").optional(),note:t.z.string().trim().max(500,"A note is at most 500 characters").optional(),idempotencyKey:h.f}),i.z.object({shipId:(0,m.f)("ship")});let w=i.z.object({harness:t.z.string(),line:t.z.string()});i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string(),crewLines:n.z.array(w),secret:t.z.string()}),i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string().nullable(),crewLines:n.z.array(w).nullable(),secret:t.z.string().nullable(),startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable()}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),name:I}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),ownerShipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),i.z.object({abandonedDeliveries:r.z.int().min(0)}),i.z.object({shipId:(0,m.f)("ship")});let A=o.z.enum(["waiting","answered","acknowledged","undeliverable"]),x=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),kind:p.v,status:p.e,startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable(),location:i.z.object({kind:p.p,description:t.z.string().nullable()}).nullable(),lastSeenAt:a.z.iso.datetime().nullable(),ping:i.z.object({state:A,sentAt:a.z.iso.datetime(),answeredAt:a.z.iso.datetime().nullable()}).nullable(),harness:t.z.string().nullable(),model:i.z.object({id:t.z.string(),statedAt:a.z.iso.datetime()}).nullable(),scopes:n.z.array(p.q),report:k.H.nullable(),activity:v.f.nullable(),crewRequest:j.i.nullable(),labels:n.z.array(y.B),awaitingCrewSince:a.z.iso.datetime().nullable(),retiredAt:a.z.iso.datetime().nullable(),ownerShipId:(0,m.f)("ship").nullable(),openAlertCount:r.z.int().min(0)}),O=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),status:p.e,isInReadReach:z.z.literal(!1)}),S=(0,f._)(c.z.union([x,O]),t.z.string()),C=c.z.union([x,O]);n.z.array(i.z.object({kind:p.v,active:r.z.int().min(0),crewed:r.z.int().min(0),awaitingCrew:r.z.int().min(0),retired:r.z.int().min(0),needsCrew:i.z.object({withTrierarchs:r.z.int().min(0),withoutTrierarchs:r.z.int().min(0)}),longestWait:i.z.object({id:(0,m.f)("ship"),name:t.z.string(),awaitingCrewSince:a.z.iso.datetime()}).nullable()})),i.z.object({lastEventId:t.z.string().regex(/^\d{1,15}$/,"A position is the number of an event").nullish()});let D=i.z.object({seq:d.z.number().int().positive(),id:(0,m.f)("event"),type:p.Q,occurredAt:a.z.iso.datetime(),actorKind:o.z.enum(["ship","account","installation","system"]),actorShipId:(0,m.f)("ship").nullable(),actorAccountId:u.f.nullable(),actorSignedInAccountId:u.f.nullable(),shipId:(0,m.f)("ship").nullable(),messageId:(0,m.f)("message").nullable(),deliveryId:(0,m.f)("delivery").nullable()});b.z.discriminatedUnion("kind",[i.z.object({kind:z.z.literal("event"),event:D}),i.z.object({kind:z.z.literal("resync")})]),i.z.object({ships:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0)}),dailyMessages:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0),resetsAt:a.z.iso.datetime()}),retention:i.z.object({days:r.z.int().min(1).nullable(),keptFrom:a.z.iso.datetime().nullable()})}),e.s(["z",0,w,"d",0,S,"k",0,C,"u",0,x,"g",0,I,"x",0,O])},625792,903520,e=>{var t=e.i(759715),i=e.i(634189),n=e.i(123387),a=e.i(971724),s=e.i(105954),l=e.i(964171),r=e.i(600205),o=e.i(455744),z=e.i(146576),c=e.i(140561),d=e.i(206033),b=e.i(180473),p=e.i(226247),m=e.i(991329),u=e.i(604147),g=e.i(495494),h=e.i(422412),j=e.i(106320),y=e.i(396185),f=e.i(664358),v=e.i(579247),k=e.i(709075),I=e.i(106132),w=e.i(374784),A=e.i(925440),x=e.i(369311),O=e.i(737258);let S="[!#$%&'*+\\-.^_`|~0-9A-Za-z]+",C="[ \\t]*",D=RegExp(`^${S}/${S}(?:${C};${C}(?:${S}=(?:${S}|"(?:[\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*"))?)*$`),$="A content type is a media type such as text/plain or application/json; charset=utf-8, of at most 256 characters",B=s.z.string().max(256,$).refine(function(e){return D.test(e)},$),T=s.z.string().trim().min(1,"A model is the exact model id the session runs, such as claude-opus-5-5").max(100,`A model is at most ${String(100)} characters`).regex(/^\S+$/,"A model id has no spaces"),V=I.z.strictObject({kind:r.z.literal("label"),valueIds:o.z.array((0,h.f)("labelValue")).min(1,"A label selection names at least one value id").max(O.b,`A label selection names at most ${String(O.b)} value ids, as many as a ship carries`).refine(e=>new Set(e).size===e.length,"A label selection names each value id once")}),U=c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),I.z.strictObject({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),V]);c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),V]);let q=s.z.string().refine(e=>(0,A.y)(e)<=A.D,`A payload is at most ${A.D} bytes (256 KB) in UTF-8`),E=a.z.object({selector:U,payload:q,contentType:B.optional(),model:T.optional(),idempotencyKey:x.f,inReplyTo:(0,h.f)("message").optional(),isForced:b.z.boolean().optional()});a.z.object({messageId:(0,h.f)("message")}),e.s(["J",0,B,"l",0,E],903520),u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain","oauthSubject"]);let P=s.z.string().min(1).max(255),H=l.z.discriminatedUnion("checked",[I.z.strictObject({checked:u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain"]),value:P}),I.z.strictObject({checked:r.z.literal("oauthSubject"),issuer:s.z.string().min(1).max(2048),value:P})]);function R(e){return JSON.stringify([e.checked,"issuer"in e?e.issuer:null,e.value])}a.z.object({shipId:(0,h.f)("ship"),facts:o.z.array(H).max(10,`A writer holds at most ${String(10)} facts about a ship`).refine(e=>new Set(e.map(R)).size===e.length,"Each fact once")}),I.z.strictObject({});let N={by:l.z.discriminatedUnion("kind",[I.z.strictObject({kind:r.z.literal("ship"),id:(0,h.f)("ship"),name:s.z.string()}),I.z.strictObject({kind:r.z.literal("account"),id:j.f}),I.z.strictObject({kind:r.z.literal("installation")})]),at:n.z.iso.datetime()},F=l.z.discriminatedUnion("checked",[H.options[0].extend(N),H.options[1].extend(N)]),M=p.z.record(s.z.string(),w.z.json()),W=I.z.strictObject({title:s.z.string().optional(),readOnlyHint:b.z.boolean().optional(),destructiveHint:b.z.boolean().optional(),idempotentHint:b.z.boolean().optional(),openWorldHint:b.z.boolean().optional()}),_=o.z.array(B).min(1,"Name at least one media type"),K=I.z.strictObject({name:s.z.string().regex(/^[A-Za-z0-9_.-]{1,128}$/,"A capability name is 1 to 128 letters, digits, _, - or ., as MCP names a tool"),title:s.z.string().optional(),description:s.z.string().optional(),inputSchema:M.optional(),outputSchema:M.optional(),inputModes:_.optional(),outputModes:_.optional(),waitMs:z.z.int().min(0).max(12e4).optional(),deadlineMs:z.z.int().min(1).max(6048e5).optional(),repeatable:b.z.boolean().optional(),scopes:o.z.array(g.q).optional(),annotations:W.optional()}),G=new TextEncoder,J=`A statement is at most ${String(262144)} bytes (256 KB) as JSON in UTF-8`;I.z.strictObject({summary:s.z.string().trim().min(1,"A statement has a summary").max(1e3,`A summary is at most ${String(1e3)} characters`),capabilities:o.z.array(K)}).refine(e=>new Set(e.capabilities.map(e=>e.name)).size===e.capabilities.length,{message:"A statement names each capability once",path:["capabilities"]}).refine(e=>G.encode(JSON.stringify(e)).byteLength<=262144,{message:J}),a.z.object({version:z.z.int().min(1)});let L=l.z.discriminatedUnion("by",[a.z.object({by:r.z.literal("crew"),version:z.z.int().min(1),summary:s.z.string(),capabilities:o.z.array(K)}),a.z.object({by:r.z.literal("commission"),note:s.z.string()})]).nullable();a.z.object({ships:o.z.array(a.z.object({id:(0,h.f)("ship"),name:s.z.string(),type:s.z.string(),kind:g.v,status:g.e,statement:L,verified:o.z.array(F)})),types:o.z.array(a.z.object({type:s.z.string(),reachable:z.z.int().min(1)}))});let Y=u.z.enum(["idle","busy"]);a.z.object({turn:Y,at:n.z.iso.datetime()}),I.z.strictObject({});let Z=n.z.iso.datetime(),Q=a.z.object({id:(0,h.f)("ship"),name:s.z.string()}),X=a.z.object({valueId:(0,h.f)("labelValue"),key:s.z.string().nullable(),value:s.z.string().nullable()}),ee=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("ship"),ship:Q}),a.z.object({kind:r.z.literal("type"),type:s.z.string()}),a.z.object({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),a.z.object({kind:r.z.literal("label"),values:o.z.array(X).readonly()})]),et=a.z.object({shipId:(0,h.f)("ship")}),ei=y.u.extend({report:v.Y.extend({detailsBytes:z.z.int().min(0).nullable()}).nullable(),crewRequest:f.M.nullable(),commissionedAt:Z,crewedSince:Z.nullable(),removedAt:Z.nullable(),inFlightDeliveries:z.z.int().min(0),openDeliveries:z.z.int().min(0),owner:Q.nullable(),commissionedByShipId:(0,h.f)("ship").nullable(),statement:L,openAlerts:o.z.array(t.f),expectations:i.f}),en=c.z.union([ei,y.x]),ea=a.z.object({seq:d.z.number().int().positive(),id:(0,h.f)("event"),type:g.Q,occurredAt:Z,actor:Q.nullable(),signedInAccountId:j.f.nullable(),ship:Q.nullable(),message:a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,contentType:s.z.string(),isPing:b.z.boolean(),model:s.z.string().nullable()}).nullable(),details:p.z.record(s.z.string(),c.z.union([s.z.string(),d.z.number(),b.z.boolean(),m.z.null()]))});et.extend((0,k.G)((0,h.f)("event")).shape),(0,k._)(ea,(0,h.f)("event"));let es=a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,inReplyTo:(0,h.f)("message").nullable(),sentAt:Z,contentType:s.z.string(),model:s.z.string().nullable(),preview:s.z.string(),isPayloadUnreadable:b.z.boolean(),isPayloadSealed:b.z.boolean(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,claimedBy:Q.nullable(),isPulled:b.z.boolean()})});et.extend((0,k.G)((0,h.f)("message")).shape),(0,k._)(es,(0,h.f)("message"));let el=a.z.object({messageId:(0,h.f)("message")}),er=u.z.enum(["notConfirmed","idle","busy"]),eo=u.z.enum(["released","retired","deregistered","takenOver","signedOut","passwordReset","accountCutOff"]);u.z.enum(["trierarch","pluginWatcher","personApp","gateway","adapter"]);let ez=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("trierarch"),trierarch:Q}),a.z.object({kind:r.z.literal("pluginWatcher")}),a.z.object({kind:r.z.literal("personApp")}),a.z.object({kind:r.z.literal("gateway")}),a.z.object({kind:r.z.literal("adapter")})]),ec=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("fleet")}),...ez.options,a.z.object({kind:r.z.literal("agent")})]),ed=a.z.object({seq:d.z.number().int().positive(),type:u.z.enum(["MessageAccepted","DeliveryReceived","DeliveryHanded","DeliveryReturned","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryAbandoned","DeliveryDismissed"]),occurredAt:Z,ship:Q.nullable(),location:a.z.object({kind:g.p,description:s.z.string().nullable()}).nullable(),harness:s.z.string().nullable(),attempts:d.z.number().int().nonnegative().nullable(),by:ez.nullable(),handOverNumber:z.z.int().min(1).nullable(),channel:s.z.string().nullable(),isAgain:b.z.boolean(),isOnceMore:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1)}).nullable(),leaseEnd:eo.nullable()}),eb=a.z.object({holder:ec.nullable(),since:Z,isPulled:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1),toldAt:Z}).nullable(),lease:a.z.object({by:ez.nullable(),isEnded:b.z.boolean(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),crew:a.z.object({status:f.u,attempt:z.z.int().min(0),startedAt:Z.nullable()}).nullable()}),ep=a.z.object({id:(0,h.f)("message"),sender:Q,sentAt:Z}),em=a.z.object({id:(0,h.f)("delivery"),ship:Q.nullable(),state:g.h,since:Z,progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()}),eu=es.omit({preview:!0,delivery:!0}).extend({payload:s.z.string(),replies:o.z.array(ep),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:d.z.number().int().nonnegative(),claimedBy:Q.nullable(),way:eb,history:o.z.array(ed)}),deliveryCount:z.z.int().min(0),progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()});el.extend((0,k.G)((0,h.f)("delivery")).shape),(0,k._)(em,(0,h.f)("delivery")),a.z.object({lease:a.z.object({by:ez.nullable(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),waiting:z.z.int().min(0),oldest:a.z.object({messageId:(0,h.f)("message"),sentAt:Z,contentType:s.z.string(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:z.z.int().min(0),way:eb})}).nullable()}),e.s(["V",0,eu,"l",0,Q,"h",0,en],625792)},737258,992328,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(964171),s=e.i(600205),l=e.i(146576),r=e.i(604147),o=e.i(180473),z=e.i(495494),c=e.i(422412),d=e.i(596282),b=e.i(664358),p=e.i(709075);let m=t.z.string(),u=i.z.object({id:(0,c.f)("labelValue"),value:t.z.string()}),g=i.z.object({labelId:(0,c.f)("label"),key:t.z.string(),valueId:(0,c.f)("labelValue"),value:t.z.string()}),h=r.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),j=i.z.object({query:t.z.string().optional(),nameQuery:t.z.string().optional(),name:t.z.string().optional(),status:n.z.array(z.e).optional(),type:n.z.array(t.z.string()).optional(),shipKind:n.z.array(z.v).optional(),crewRequest:n.z.array(b.k).optional(),assignedTo:n.z.array((0,c.f)("ship")).optional(),needsCrew:r.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:n.z.array((0,c.f)("labelValue")).optional(),shipIds:n.z.array((0,c.f)("ship")).optional(),kind:n.z.array(h).optional(),pluginShipIds:n.z.array((0,c.f)("ship")).optional(),state:n.z.array(r.z.enum(d.f)).optional()});i.z.object({filter:j.optional()}).optional(),i.z.object({status:n.z.array(z.e).optional()}).optional(),n.z.array(i.z.object({type:t.z.string(),ships:l.z.int().min(0)}));let y=i.z.object({column:r.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:r.z.enum(["ascending","descending"])}),f=i.z.object({isEmpty:o.z.boolean(),value:t.z.string(),name:t.z.string(),id:(0,c.f)("ship")}),v=t.z.string().max(4096).transform(function(e){try{let t=atob(e.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(t,e=>e.charCodeAt(0))))}catch{return}}).pipe(f);(0,p.G)(v).extend({...j.shape,sort:y.optional()}).optional(),i.z.object({key:m,values:n.z.array(m)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(m)}),i.z.object({values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label")}),i.z.object({key:m,value:m}),i.z.object({labelId:(0,c.f)("label"),valueId:(0,c.f)("labelValue")}),i.z.object({shipId:(0,c.f)("ship"),valueId:(0,c.f)("labelValue")}),i.z.object({});let k=a.z.discriminatedUnion("kind",[i.z.object({kind:s.z.literal("ship"),id:(0,c.f)("ship"),name:t.z.string()}),i.z.object({kind:s.z.literal("installation")})]),I=i.z.object({id:(0,c.f)("label"),key:t.z.string(),values:n.z.array(u),owner:k});n.z.array(I.extend({shipCount:l.z.int().min(0),values:n.z.array(u.extend({shipCount:l.z.int().min(0)}))})),e.s(["b",0,20,"B",0,g],737258);var w=e.i(123387);let A=r.z.enum(["text","tool","result","error"]);i.z.object({intervalSeconds:l.z.int().min(1).max(86400),activities:n.z.array(i.z.object({shipId:(0,c.f)("ship"),at:w.z.iso.datetime(),kind:A,tool:t.z.string().trim().min(1).max(100).optional()})).min(1).max(100)}),i.z.object({refused:n.z.array(i.z.object({shipId:(0,c.f)("ship"),code:t.z.string(),message:t.z.string()}))});let x=i.z.object({at:w.z.iso.datetime(),kind:A,tool:t.z.string().nullable(),reportedAt:w.z.iso.datetime(),intervalSeconds:l.z.int().min(1)});e.s(["f",0,x],992328)},709075,691141,e=>{var t=e.i(971724),i=e.i(146576),n=e.i(455744);e.s(["f",0,500],691141),e.s(["G",0,function(e){return t.z.object({cursor:e.optional(),limit:i.z.int().min(1).max(500).optional()})},"_",0,function(e,i){return t.z.object({items:n.z.array(e),nextCursor:i.nullable()})}],709075)},579247,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(971724),s=e.i(206033),l=e.i(106132),r=e.i(180473),o=e.i(123387),z=e.i(146576);let c=e.i(604147).z.enum(["working","blocked","idle"]),d=`A note is one line of at most ${String(200)} characters`;new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=a.z.object({kind:i.z.string()}).catchall(n.z.json()),m=a.z.object({at:s.z.number(),of:s.z.number()});a.z.object({state:c,note:i.z.string().trim().max(200,d).refine(function(e){return!/[\r\n]/.test(e)},d).optional(),details:b.nullable().optional(),detailsPatch:b.nullable().optional(),task:p.nullable().optional(),step:m.nullable().optional()}).refine(e=>void 0===e.details||void 0===e.detailsPatch,{message:"Give details or detailsPatch, not both",path:["detailsPatch"]}),l.z.strictObject({});let u=a.z.object({state:c,note:i.z.string().nullable(),task:p.nullable(),taskView:a.z.object({canOpen:r.z.boolean(),fleetName:i.z.string().nullable()}).optional(),step:m.nullable(),reportedAt:o.z.iso.datetime(),reportChangedAt:o.z.iso.datetime(),detailsVersion:z.z.int().min(0)}),g=u.extend({details:b.nullable()});a.z.object({report:g.nullable(),previousCrew:g.nullable()}),e.s(["H",0,u,"Y",0,g,"W",0,p])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0seg6gza26j4n._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[146576,e=>{var t=e.i(562810);e.s(["z",0,t])},530389,925440,e=>{var t=e.i(562810);e.s(["z",0,t],530389);let i=new TextEncoder;e.s(["D",0,262144,"y",0,function(e){return i.encode(e).byteLength}],925440)},226247,374784,e=>{var t=e.i(562810);e.s(["z",0,t],226247),e.s(["z",0,t],374784)},796142,369311,e=>{let t=`Use 1 to ${String(48)} lowercase letters, digits, hyphens or colons`;e.s(["Z",0,48,"o",0,t,"V",0,/^[a-z0-9:-]+$/],796142);let i=e.i(105954).z.string().min(1).max(256);e.s(["f",0,i],369311)},759715,634189,991329,e=>{var t=e.i(604147),i=e.i(123387),n=e.i(146576),a=e.i(106132),s=e.i(105954),l=e.i(180473),r=e.i(971724),o=e.i(600205),z=e.i(964171),c=e.i(530389),d=e.i(140561),b=e.i(857897),p=e.i(422412),m=e.i(925440),u=e.i(709075),g=e.i(579247);let h=t.z.enum(["crew-request-unassigned","delivery-unacknowledged","delivery-overdue","ping-unanswered","report-unchanged","task-not-done"]),j=i.z.iso.datetime({offset:!0}),y=n.z.int().min(1),f=a.z.strictObject({settingsVersion:n.z.int().min(1),minutes:y,reason:s.z.string().nullable()}),v=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),state:t.z.enum(["pending","received","handed"]),awaitingCrew:l.z.boolean(),minutes:y}),k=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),overdueEventId:(0,p.f)("event")}),I=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),minutes:y}),w=a.z.strictObject({reportChangedAt:j,state:t.z.enum(["working","blocked"]),minutes:y,setBy:(0,p.f)("ship")}),A=a.z.strictObject({task:g.W,doneBy:j,setBy:(0,p.f)("ship")}),x=[r.z.object({signal:o.z.literal("crew-request-unassigned"),facts:f}),r.z.object({signal:o.z.literal("delivery-unacknowledged"),facts:v}),r.z.object({signal:o.z.literal("delivery-overdue"),facts:k}),r.z.object({signal:o.z.literal("ping-unanswered"),facts:I}),r.z.object({signal:o.z.literal("report-unchanged"),facts:w}),r.z.object({signal:o.z.literal("task-not-done"),facts:A})],O=z.z.discriminatedUnion("signal",x);c.z.intersection(r.z.object({alertId:(0,p.f)("alert"),headline:s.z.string().min(1).max(80),body:s.z.string().refine(e=>2048>=(0,m.y)(e),`A body is at most ${String(2048)} bytes`),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),fleetId:(0,p.f)("fleet"),toldAs:t.z.enum(["owner","setter"]),since:j,raisedAt:j}),O).refine(e=>8192>=(0,m.y)(JSON.stringify(e)),`An alert message is at most ${String(8192)} bytes`),r.z.object({shipId:(0,p.f)("ship"),signal:h,facts:d.z.union([f,v,k,I,w,A]),occurrenceKey:s.z.string().min(1).max(200),since:j}).transform(({shipId:e,signal:t,facts:i,occurrenceKey:n,since:a},s)=>{let l=O.safeParse({signal:t,facts:i});return l.success?{shipId:e,occurrenceKey:n,since:a,...l.data}:(s.addIssue({code:"custom",message:"The facts are not the signal's",path:["facts"]}),b.z.NEVER)}),r.z.object({alertId:(0,p.f)("alert")});let S=t.z.enum(["cleared","retired"]),C=c.z.intersection(r.z.object({id:(0,p.f)("alert"),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),occurrenceKey:s.z.string(),ownerShipId:(0,p.f)("ship").nullable(),since:i.z.iso.datetime(),raisedAt:i.z.iso.datetime(),cleared:r.z.object({at:i.z.iso.datetime(),why:S}).nullable()}),O);(0,u.G)((0,p.f)("alert")).optional(),(0,u._)(C,(0,p.f)("alert")),e.s(["f",0,C],759715);var D=e.i(106320);let $=n.z.int().min(5).max(10080);r.z.object({shipId:(0,p.f)("ship"),reportChangesWithin:$.nullable().optional(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime({offset:!0})}).nullable().optional()}),a.z.strictObject({});let B=z.z.discriminatedUnion("kind",[r.z.object({kind:o.z.literal("ship"),shipId:(0,p.f)("ship")}),r.z.object({kind:o.z.literal("account"),accountId:D.f}),r.z.object({kind:o.z.literal("installation")})]),T=r.z.object({reportChangesWithin:r.z.object({minutes:n.z.int(),setBy:B,setAt:i.z.iso.datetime()}).nullable(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime(),setBy:B,setAt:i.z.iso.datetime()}).nullable()});e.s(["f",0,T],634189);var V=e.i(562810);e.s(["z",0,V],991329)},664358,596282,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(604147),s=e.i(971724),l=e.i(146576),r=e.i(106132),o=e.i(123387),z=e.i(455744),c=e.i(180473),d=e.i(422412);new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=["crewing","running","restarting","crashed","releasing"],m=a.z.enum(p),u=["none","needsCrew","crewedByHand",...p],g=a.z.enum(u),h=`A reason is one line of at most ${String(200)} characters`;s.z.object({shipId:(0,d.f)("ship"),settings:b}),s.z.object({settingsVersion:l.z.int().min(1)}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({});let j=s.z.object({settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),assignedTo:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),status:m.nullable(),reason:i.z.string().nullable(),crewedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),attempt:l.z.int().min(0),startedAt:o.z.iso.datetime().nullable(),givenBack:z.z.array(s.z.object({trierarch:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}),settingsVersion:l.z.int().min(1),reason:i.z.string(),givenBackAt:o.z.iso.datetime()}))}),y=j.extend({settings:b});s.z.object({shipId:(0,d.f)("ship"),trierarchShipId:(0,d.f)("ship")}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),status:m,attempt:l.z.int().min(0).optional(),startedAt:o.z.iso.datetime().nullable().optional()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({}),z.z.array(s.z.object({shipId:(0,d.f)("ship"),settings:b,settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),status:m.nullable(),isFinal:c.z.boolean(),ownerShipId:(0,d.f)("ship").nullable(),ownerName:i.z.string().nullable()})),s.z.object({shipId:(0,d.f)("ship"),reason:i.z.string().trim().max(200,h).refine(e=>!/[\r\n]/.test(e),h).nullable()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),settingsVersion:l.z.int().min(1),reason:i.z.string().trim().min(1,h).max(200,h).refine(e=>!/[\r\n]/.test(e),h)}),r.z.strictObject({}),e.s(["k",0,g,"M",0,y,"u",0,m,"i",0,j],664358),e.s(["f",0,["alert","awaitingCrew","blocked","working","idle"]],596282)},396185,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(123387),s=e.i(180473),l=e.i(106132),r=e.i(146576),o=e.i(604147),z=e.i(600205),c=e.i(140561),d=e.i(206033),b=e.i(964171),p=e.i(495494),m=e.i(422412),u=e.i(106320),g=e.i(796142),h=e.i(369311),j=e.i(664358),y=e.i(737258),f=e.i(709075),v=e.i(992328),k=e.i(579247);let I=t.z.string().max(g.Z,g.o).regex(g.V,g.o);i.z.object({name:I,type:I,kind:p.$.optional(),scopes:n.z.array(p.q).optional(),valueIds:n.z.array((0,m.f)("labelValue")).max(y.b).optional(),ownerOf:(0,m.f)("ship").optional(),owner:(0,m.f)("ship").optional(),note:t.z.string().trim().max(500,"A note is at most 500 characters").optional(),idempotencyKey:h.f}),i.z.object({shipId:(0,m.f)("ship")});let w=i.z.object({harness:t.z.string(),line:t.z.string()});i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string(),crewLines:n.z.array(w),secret:t.z.string()}),i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string().nullable(),crewLines:n.z.array(w).nullable(),secret:t.z.string().nullable(),startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable()}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),name:I}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),ownerShipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),i.z.object({abandonedDeliveries:r.z.int().min(0)}),i.z.object({shipId:(0,m.f)("ship")});let A=o.z.enum(["waiting","answered","acknowledged","undeliverable"]),x=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),kind:p.v,status:p.e,startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable(),location:i.z.object({kind:p.p,description:t.z.string().nullable()}).nullable(),lastSeenAt:a.z.iso.datetime().nullable(),ping:i.z.object({state:A,sentAt:a.z.iso.datetime(),answeredAt:a.z.iso.datetime().nullable()}).nullable(),harness:t.z.string().nullable(),model:i.z.object({id:t.z.string(),statedAt:a.z.iso.datetime()}).nullable(),scopes:n.z.array(p.q),report:k.H.nullable(),activity:v.f.nullable(),crewRequest:j.i.nullable(),labels:n.z.array(y.B),awaitingCrewSince:a.z.iso.datetime().nullable(),retiredAt:a.z.iso.datetime().nullable(),ownerShipId:(0,m.f)("ship").nullable(),openAlertCount:r.z.int().min(0)}),O=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),status:p.e,isInReadReach:z.z.literal(!1)}),S=(0,f._)(c.z.union([x,O]),t.z.string()),C=c.z.union([x,O]);n.z.array(i.z.object({kind:p.v,active:r.z.int().min(0),crewed:r.z.int().min(0),awaitingCrew:r.z.int().min(0),retired:r.z.int().min(0),needsCrew:i.z.object({withTrierarchs:r.z.int().min(0),withoutTrierarchs:r.z.int().min(0)}),longestWait:i.z.object({id:(0,m.f)("ship"),name:t.z.string(),awaitingCrewSince:a.z.iso.datetime()}).nullable()})),i.z.object({lastEventId:t.z.string().regex(/^\d{1,15}$/,"A position is the number of an event").nullish()});let D=i.z.object({seq:d.z.number().int().positive(),id:(0,m.f)("event"),type:p.Q,occurredAt:a.z.iso.datetime(),actorKind:o.z.enum(["ship","account","installation","system"]),actorShipId:(0,m.f)("ship").nullable(),actorAccountId:u.f.nullable(),actorSignedInAccountId:u.f.nullable(),shipId:(0,m.f)("ship").nullable(),messageId:(0,m.f)("message").nullable(),deliveryId:(0,m.f)("delivery").nullable()});b.z.discriminatedUnion("kind",[i.z.object({kind:z.z.literal("event"),event:D}),i.z.object({kind:z.z.literal("resync")})]),i.z.object({ships:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0)}),dailyMessages:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0),resetsAt:a.z.iso.datetime()}),retention:i.z.object({days:r.z.int().min(1).nullable(),keptFrom:a.z.iso.datetime().nullable()})}),e.s(["z",0,w,"d",0,S,"k",0,C,"u",0,x,"g",0,I,"x",0,O])},625792,903520,e=>{var t=e.i(759715),i=e.i(634189),n=e.i(123387),a=e.i(971724),s=e.i(105954),l=e.i(964171),r=e.i(600205),o=e.i(455744),z=e.i(146576),c=e.i(140561),d=e.i(206033),b=e.i(180473),p=e.i(226247),m=e.i(991329),u=e.i(604147),g=e.i(495494),h=e.i(422412),j=e.i(106320),y=e.i(396185),f=e.i(664358),v=e.i(579247),k=e.i(709075),I=e.i(106132),w=e.i(374784),A=e.i(925440),x=e.i(369311),O=e.i(737258);let S="[!#$%&'*+\\-.^_`|~0-9A-Za-z]+",C="[ \\t]*",D=RegExp(`^${S}/${S}(?:${C};${C}(?:${S}=(?:${S}|"(?:[\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*"))?)*$`),$="A content type is a media type such as text/plain or application/json; charset=utf-8, of at most 256 characters",B=s.z.string().max(256,$).refine(function(e){return D.test(e)},$),T=s.z.string().trim().min(1,"A model is the exact model id the session runs, such as claude-opus-5-5").max(100,`A model is at most ${String(100)} characters`).regex(/^\S+$/,"A model id has no spaces"),V=I.z.strictObject({kind:r.z.literal("label"),valueIds:o.z.array((0,h.f)("labelValue")).min(1,"A label selection names at least one value id").max(O.b,`A label selection names at most ${String(O.b)} value ids, as many as a ship carries`).refine(e=>new Set(e).size===e.length,"A label selection names each value id once")}),U=c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),I.z.strictObject({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),V]);c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),V]);let q=s.z.string().refine(e=>(0,A.y)(e)<=A.D,`A payload is at most ${A.D} bytes (256 KB) in UTF-8`),E=a.z.object({selector:U,payload:q,contentType:B.optional(),model:T.optional(),idempotencyKey:x.f,inReplyTo:(0,h.f)("message").optional(),isForced:b.z.boolean().optional()});a.z.object({messageId:(0,h.f)("message")}),e.s(["J",0,B,"l",0,E],903520),u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain","oauthSubject"]);let P=s.z.string().min(1).max(255),H=l.z.discriminatedUnion("checked",[I.z.strictObject({checked:u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain"]),value:P}),I.z.strictObject({checked:r.z.literal("oauthSubject"),issuer:s.z.string().min(1).max(2048),value:P})]);function R(e){return JSON.stringify([e.checked,"issuer"in e?e.issuer:null,e.value])}a.z.object({shipId:(0,h.f)("ship"),facts:o.z.array(H).max(10,`A writer holds at most ${String(10)} facts about a ship`).refine(e=>new Set(e.map(R)).size===e.length,"Each fact once")}),I.z.strictObject({});let N={by:l.z.discriminatedUnion("kind",[I.z.strictObject({kind:r.z.literal("ship"),id:(0,h.f)("ship"),name:s.z.string()}),I.z.strictObject({kind:r.z.literal("account"),id:j.f}),I.z.strictObject({kind:r.z.literal("installation")})]),at:n.z.iso.datetime()},F=l.z.discriminatedUnion("checked",[H.options[0].extend(N),H.options[1].extend(N)]),M=p.z.record(s.z.string(),w.z.json()),W=I.z.strictObject({title:s.z.string().optional(),readOnlyHint:b.z.boolean().optional(),destructiveHint:b.z.boolean().optional(),idempotentHint:b.z.boolean().optional(),openWorldHint:b.z.boolean().optional()}),_=o.z.array(B).min(1,"Name at least one media type"),K=I.z.strictObject({name:s.z.string().regex(/^[A-Za-z0-9_.-]{1,128}$/,"A capability name is 1 to 128 letters, digits, _, - or ., as MCP names a tool"),title:s.z.string().optional(),description:s.z.string().optional(),inputSchema:M.optional(),outputSchema:M.optional(),inputModes:_.optional(),outputModes:_.optional(),waitMs:z.z.int().min(0).max(12e4).optional(),deadlineMs:z.z.int().min(1).max(6048e5).optional(),repeatable:b.z.boolean().optional(),scopes:o.z.array(g.q).optional(),annotations:W.optional()}),G=new TextEncoder,J=`A statement is at most ${String(262144)} bytes (256 KB) as JSON in UTF-8`;I.z.strictObject({summary:s.z.string().trim().min(1,"A statement has a summary").max(1e3,`A summary is at most ${String(1e3)} characters`),capabilities:o.z.array(K)}).refine(e=>new Set(e.capabilities.map(e=>e.name)).size===e.capabilities.length,{message:"A statement names each capability once",path:["capabilities"]}).refine(e=>G.encode(JSON.stringify(e)).byteLength<=262144,{message:J}),a.z.object({version:z.z.int().min(1)});let L=l.z.discriminatedUnion("by",[a.z.object({by:r.z.literal("crew"),version:z.z.int().min(1),summary:s.z.string(),capabilities:o.z.array(K)}),a.z.object({by:r.z.literal("commission"),note:s.z.string()})]).nullable();a.z.object({ships:o.z.array(a.z.object({id:(0,h.f)("ship"),name:s.z.string(),type:s.z.string(),kind:g.v,status:g.e,statement:L,verified:o.z.array(F)})),types:o.z.array(a.z.object({type:s.z.string(),reachable:z.z.int().min(1)}))});let Y=u.z.enum(["idle","busy"]);a.z.object({turn:Y,at:n.z.iso.datetime()}),I.z.strictObject({});let Z=n.z.iso.datetime(),Q=a.z.object({id:(0,h.f)("ship"),name:s.z.string()}),X=a.z.object({valueId:(0,h.f)("labelValue"),key:s.z.string().nullable(),value:s.z.string().nullable()}),ee=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("ship"),ship:Q}),a.z.object({kind:r.z.literal("type"),type:s.z.string()}),a.z.object({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),a.z.object({kind:r.z.literal("label"),values:o.z.array(X).readonly()})]),et=a.z.object({shipId:(0,h.f)("ship")}),ei=y.u.extend({report:v.Y.extend({detailsBytes:z.z.int().min(0).nullable()}).nullable(),crewRequest:f.M.nullable(),commissionedAt:Z,crewedSince:Z.nullable(),removedAt:Z.nullable(),inFlightDeliveries:z.z.int().min(0),openDeliveries:z.z.int().min(0),owner:Q.nullable(),commissionedByShipId:(0,h.f)("ship").nullable(),statement:L,openAlerts:o.z.array(t.f),expectations:i.f}),en=c.z.union([ei,y.x]),ea=a.z.object({seq:d.z.number().int().positive(),id:(0,h.f)("event"),type:g.Q,occurredAt:Z,actor:Q.nullable(),signedInAccountId:j.f.nullable(),ship:Q.nullable(),message:a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,contentType:s.z.string(),isPing:b.z.boolean(),model:s.z.string().nullable()}).nullable(),details:p.z.record(s.z.string(),c.z.union([s.z.string(),d.z.number(),b.z.boolean(),m.z.null()]))});et.extend((0,k.G)((0,h.f)("event")).shape),(0,k._)(ea,(0,h.f)("event"));let es=a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,inReplyTo:(0,h.f)("message").nullable(),sentAt:Z,contentType:s.z.string(),model:s.z.string().nullable(),preview:s.z.string(),isPayloadUnreadable:b.z.boolean(),isPayloadSealed:b.z.boolean(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,claimedBy:Q.nullable(),isPulled:b.z.boolean()})});et.extend((0,k.G)((0,h.f)("message")).shape),(0,k._)(es,(0,h.f)("message"));let el=a.z.object({messageId:(0,h.f)("message")}),er=u.z.enum(["notConfirmed","idle","busy"]),eo=u.z.enum(["released","retired","deregistered","takenOver","signedOut","passwordReset","accountCutOff"]);u.z.enum(["trierarch","pluginWatcher","personApp","gateway","adapter"]);let ez=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("trierarch"),trierarch:Q}),a.z.object({kind:r.z.literal("pluginWatcher")}),a.z.object({kind:r.z.literal("personApp")}),a.z.object({kind:r.z.literal("gateway")}),a.z.object({kind:r.z.literal("adapter")})]),ec=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("fleet")}),...ez.options,a.z.object({kind:r.z.literal("agent")})]),ed=a.z.object({seq:d.z.number().int().positive(),type:u.z.enum(["MessageAccepted","DeliveryReceived","DeliveryHanded","DeliveryReturned","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryAbandoned","DeliveryDismissed"]),occurredAt:Z,ship:Q.nullable(),location:a.z.object({kind:g.p,description:s.z.string().nullable()}).nullable(),harness:s.z.string().nullable(),attempts:d.z.number().int().nonnegative().nullable(),by:ez.nullable(),handOverNumber:z.z.int().min(1).nullable(),channel:s.z.string().nullable(),isAgain:b.z.boolean(),isOnceMore:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1)}).nullable(),leaseEnd:eo.nullable()}),eb=a.z.object({holder:ec.nullable(),since:Z,isPulled:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1),toldAt:Z}).nullable(),lease:a.z.object({by:ez.nullable(),isEnded:b.z.boolean(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),crew:a.z.object({status:f.u,attempt:z.z.int().min(0),startedAt:Z.nullable()}).nullable()}),ep=a.z.object({id:(0,h.f)("message"),sender:Q,sentAt:Z}),em=a.z.object({id:(0,h.f)("delivery"),ship:Q.nullable(),state:g.h,since:Z,progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()}),eu=es.omit({preview:!0,delivery:!0}).extend({payload:s.z.string(),replies:o.z.array(ep),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:d.z.number().int().nonnegative(),claimedBy:Q.nullable(),way:eb,history:o.z.array(ed)}),deliveryCount:z.z.int().min(0),progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()});el.extend((0,k.G)((0,h.f)("delivery")).shape),(0,k._)(em,(0,h.f)("delivery")),a.z.object({lease:a.z.object({by:ez.nullable(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),waiting:z.z.int().min(0),oldest:a.z.object({messageId:(0,h.f)("message"),sentAt:Z,contentType:s.z.string(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:z.z.int().min(0),way:eb})}).nullable()}),e.s(["V",0,eu,"l",0,Q,"h",0,en],625792)},737258,992328,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(964171),s=e.i(600205),l=e.i(146576),r=e.i(604147),o=e.i(180473),z=e.i(495494),c=e.i(422412),d=e.i(596282),b=e.i(664358),p=e.i(709075);let m=t.z.string(),u=i.z.object({id:(0,c.f)("labelValue"),value:t.z.string()}),g=i.z.object({labelId:(0,c.f)("label"),key:t.z.string(),valueId:(0,c.f)("labelValue"),value:t.z.string()}),h=r.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),j=i.z.object({query:t.z.string().optional(),nameQuery:t.z.string().optional(),name:t.z.string().optional(),status:n.z.array(z.e).optional(),type:n.z.array(t.z.string()).optional(),shipKind:n.z.array(z.v).optional(),crewRequest:n.z.array(b.k).optional(),assignedTo:n.z.array((0,c.f)("ship")).optional(),needsCrew:r.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:n.z.array((0,c.f)("labelValue")).optional(),shipIds:n.z.array((0,c.f)("ship")).optional(),kind:n.z.array(h).optional(),pluginShipIds:n.z.array((0,c.f)("ship")).optional(),state:n.z.array(r.z.enum(d.f)).optional()});i.z.object({filter:j.optional()}).optional(),i.z.object({status:n.z.array(z.e).optional()}).optional(),n.z.array(i.z.object({type:t.z.string(),ships:l.z.int().min(0)}));let y=i.z.object({column:r.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:r.z.enum(["ascending","descending"])}),f=i.z.object({isEmpty:o.z.boolean(),value:t.z.string(),name:t.z.string(),id:(0,c.f)("ship")}),v=t.z.string().max(4096).transform(function(e){try{let t=atob(e.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(t,e=>e.charCodeAt(0))))}catch{return}}).pipe(f);(0,p.G)(v).extend({...j.shape,sort:y.optional()}).optional(),i.z.object({key:m,values:n.z.array(m)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(m)}),i.z.object({values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label")}),i.z.object({key:m,value:m}),i.z.object({labelId:(0,c.f)("label"),valueId:(0,c.f)("labelValue")}),i.z.object({shipId:(0,c.f)("ship"),valueId:(0,c.f)("labelValue")}),i.z.object({});let k=a.z.discriminatedUnion("kind",[i.z.object({kind:s.z.literal("ship"),id:(0,c.f)("ship"),name:t.z.string()}),i.z.object({kind:s.z.literal("installation")})]),I=i.z.object({id:(0,c.f)("label"),key:t.z.string(),values:n.z.array(u),owner:k});n.z.array(I.extend({shipCount:l.z.int().min(0),values:n.z.array(u.extend({shipCount:l.z.int().min(0)}))})),e.s(["b",0,20,"B",0,g],737258);var w=e.i(123387);let A=r.z.enum(["text","tool","result","error"]);i.z.object({intervalSeconds:l.z.int().min(1).max(86400),activities:n.z.array(i.z.object({shipId:(0,c.f)("ship"),at:w.z.iso.datetime(),kind:A,tool:t.z.string().trim().min(1).max(100).optional()})).min(1).max(100)}),i.z.object({refused:n.z.array(i.z.object({shipId:(0,c.f)("ship"),code:t.z.string(),message:t.z.string()}))});let x=i.z.object({at:w.z.iso.datetime(),kind:A,tool:t.z.string().nullable(),reportedAt:w.z.iso.datetime(),intervalSeconds:l.z.int().min(1)});e.s(["f",0,x],992328)},709075,691141,e=>{var t=e.i(971724),i=e.i(146576),n=e.i(455744);e.s(["f",0,500],691141),e.s(["G",0,function(e){return t.z.object({cursor:e.optional(),limit:i.z.int().min(1).max(500).optional()})},"_",0,function(e,i){return t.z.object({items:n.z.array(e),nextCursor:i.nullable()})}],709075)},579247,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(971724),s=e.i(206033),l=e.i(106132),r=e.i(180473),o=e.i(123387),z=e.i(146576);let c=e.i(604147).z.enum(["working","blocked","idle"]),d=`A note is one line of at most ${String(200)} characters`;new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=a.z.object({kind:i.z.string()}).catchall(n.z.json()),m=a.z.object({at:s.z.number(),of:s.z.number()});a.z.object({state:c,note:i.z.string().trim().max(200,d).refine(function(e){return!/[\r\n]/.test(e)},d).optional(),details:b.nullable().optional(),detailsPatch:b.nullable().optional(),task:p.nullable().optional(),step:m.nullable().optional()}).refine(e=>void 0===e.details||void 0===e.detailsPatch,{message:"Give details or detailsPatch, not both",path:["detailsPatch"]}),l.z.strictObject({});let u=a.z.object({state:c,note:i.z.string().nullable(),task:p.nullable(),taskView:a.z.object({canOpen:r.z.boolean(),fleetName:i.z.string().nullable()}).optional(),step:m.nullable(),reportedAt:o.z.iso.datetime(),reportChangedAt:o.z.iso.datetime(),detailsVersion:z.z.int().min(0)}),g=u.extend({details:b.nullable()});a.z.object({report:g.nullable(),previousCrew:g.nullable()}),e.s(["H",0,u,"Y",0,g,"W",0,p])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[146576,e=>{var t=e.i(562810);e.s(["z",0,t])},530389,925440,e=>{var t=e.i(562810);e.s(["z",0,t],530389);let i=new TextEncoder;e.s(["D",0,262144,"y",0,function(e){return i.encode(e).byteLength}],925440)},226247,374784,e=>{var t=e.i(562810);e.s(["z",0,t],226247),e.s(["z",0,t],374784)},796142,369311,e=>{let t=`Use 1 to ${String(48)} lowercase letters, digits, hyphens or colons`;e.s(["Z",0,48,"o",0,t,"V",0,/^[a-z0-9:-]+$/],796142);let i=e.i(105954).z.string().min(1).max(256);e.s(["f",0,i],369311)},759715,634189,991329,e=>{var t=e.i(604147),i=e.i(123387),n=e.i(146576),a=e.i(106132),s=e.i(105954),l=e.i(180473),r=e.i(971724),o=e.i(600205),z=e.i(964171),c=e.i(530389),d=e.i(140561),b=e.i(857897),p=e.i(422412),m=e.i(925440),u=e.i(709075),g=e.i(579247);let h=t.z.enum(["crew-request-unassigned","delivery-unacknowledged","delivery-overdue","ping-unanswered","report-unchanged","task-not-done"]),j=i.z.iso.datetime({offset:!0}),y=n.z.int().min(1),f=a.z.strictObject({settingsVersion:n.z.int().min(1),minutes:y,reason:s.z.string().nullable()}),v=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),state:t.z.enum(["pending","received","handed"]),awaitingCrew:l.z.boolean(),minutes:y}),k=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),overdueEventId:(0,p.f)("event")}),I=a.z.strictObject({deliveryId:(0,p.f)("delivery"),messageId:(0,p.f)("message"),minutes:y}),w=a.z.strictObject({reportChangedAt:j,state:t.z.enum(["working","blocked"]),minutes:y,setBy:(0,p.f)("ship")}),A=a.z.strictObject({task:g.W,doneBy:j,setBy:(0,p.f)("ship")}),x=[r.z.object({signal:o.z.literal("crew-request-unassigned"),facts:f}),r.z.object({signal:o.z.literal("delivery-unacknowledged"),facts:v}),r.z.object({signal:o.z.literal("delivery-overdue"),facts:k}),r.z.object({signal:o.z.literal("ping-unanswered"),facts:I}),r.z.object({signal:o.z.literal("report-unchanged"),facts:w}),r.z.object({signal:o.z.literal("task-not-done"),facts:A})],O=z.z.discriminatedUnion("signal",x);c.z.intersection(r.z.object({alertId:(0,p.f)("alert"),headline:s.z.string().min(1).max(80),body:s.z.string().refine(e=>2048>=(0,m.y)(e),`A body is at most ${String(2048)} bytes`),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),fleetId:(0,p.f)("fleet"),toldAs:t.z.enum(["owner","setter"]),since:j,raisedAt:j}),O).refine(e=>8192>=(0,m.y)(JSON.stringify(e)),`An alert message is at most ${String(8192)} bytes`),r.z.object({shipId:(0,p.f)("ship"),signal:h,facts:d.z.union([f,v,k,I,w,A]),occurrenceKey:s.z.string().min(1).max(200),since:j}).transform(({shipId:e,signal:t,facts:i,occurrenceKey:n,since:a},s)=>{let l=O.safeParse({signal:t,facts:i});return l.success?{shipId:e,occurrenceKey:n,since:a,...l.data}:(s.addIssue({code:"custom",message:"The facts are not the signal's",path:["facts"]}),b.z.NEVER)}),r.z.object({alertId:(0,p.f)("alert")});let S=t.z.enum(["cleared","retired"]),C=c.z.intersection(r.z.object({id:(0,p.f)("alert"),ship:r.z.object({id:(0,p.f)("ship"),name:s.z.string()}),occurrenceKey:s.z.string(),ownerShipId:(0,p.f)("ship").nullable(),since:i.z.iso.datetime(),raisedAt:i.z.iso.datetime(),cleared:r.z.object({at:i.z.iso.datetime(),why:S}).nullable()}),O);(0,u.G)((0,p.f)("alert")).optional(),(0,u._)(C,(0,p.f)("alert")),e.s(["f",0,C],759715);var D=e.i(106320);let $=n.z.int().min(5).max(10080);r.z.object({shipId:(0,p.f)("ship"),reportChangesWithin:$.nullable().optional(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime({offset:!0})}).nullable().optional()}),a.z.strictObject({});let B=z.z.discriminatedUnion("kind",[r.z.object({kind:o.z.literal("ship"),shipId:(0,p.f)("ship")}),r.z.object({kind:o.z.literal("account"),accountId:D.f}),r.z.object({kind:o.z.literal("installation")})]),T=r.z.object({reportChangesWithin:r.z.object({minutes:n.z.int(),setBy:B,setAt:i.z.iso.datetime()}).nullable(),taskDoneBy:r.z.object({task:g.W,doneBy:i.z.iso.datetime(),setBy:B,setAt:i.z.iso.datetime()}).nullable()});e.s(["f",0,T],634189);var V=e.i(562810);e.s(["z",0,V],991329)},664358,596282,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(604147),s=e.i(971724),l=e.i(146576),r=e.i(106132),o=e.i(123387),z=e.i(455744),c=e.i(180473),d=e.i(422412);new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=["crewing","running","restarting","crashed","releasing"],m=a.z.enum(p),u=["none","needsCrew","crewedByHand",...p],g=a.z.enum(u),h=`A reason is one line of at most ${String(200)} characters`;s.z.object({shipId:(0,d.f)("ship"),settings:b}),s.z.object({settingsVersion:l.z.int().min(1)}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({});let j=s.z.object({settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),assignedTo:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),requestedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),status:m.nullable(),reason:i.z.string().nullable(),crewedBy:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}).nullable(),attempt:l.z.int().min(0),startedAt:o.z.iso.datetime().nullable(),givenBack:z.z.array(s.z.object({trierarch:s.z.object({id:(0,d.f)("ship"),name:i.z.string()}),settingsVersion:l.z.int().min(1),reason:i.z.string(),givenBackAt:o.z.iso.datetime()}))}),y=j.extend({settings:b});s.z.object({shipId:(0,d.f)("ship"),trierarchShipId:(0,d.f)("ship")}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),status:m,attempt:l.z.int().min(0).optional(),startedAt:o.z.iso.datetime().nullable().optional()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship")}),r.z.strictObject({}),z.z.array(s.z.object({shipId:(0,d.f)("ship"),settings:b,settingsVersion:l.z.int().min(1),requestedAt:o.z.iso.datetime(),status:m.nullable(),isFinal:c.z.boolean(),ownerShipId:(0,d.f)("ship").nullable(),ownerName:i.z.string().nullable()})),s.z.object({shipId:(0,d.f)("ship"),reason:i.z.string().trim().max(200,h).refine(e=>!/[\r\n]/.test(e),h).nullable()}),r.z.strictObject({}),s.z.object({shipId:(0,d.f)("ship"),settingsVersion:l.z.int().min(1),reason:i.z.string().trim().min(1,h).max(200,h).refine(e=>!/[\r\n]/.test(e),h)}),r.z.strictObject({}),e.s(["k",0,g,"M",0,y,"u",0,m,"i",0,j],664358),e.s(["f",0,["alert","awaitingCrew","blocked","working","idle"]],596282)},396185,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(123387),s=e.i(180473),l=e.i(106132),r=e.i(146576),o=e.i(604147),z=e.i(600205),c=e.i(140561),d=e.i(206033),b=e.i(964171),p=e.i(495494),m=e.i(422412),u=e.i(106320),g=e.i(796142),h=e.i(369311),j=e.i(664358),y=e.i(737258),f=e.i(709075),v=e.i(992328),k=e.i(579247);let I=t.z.string().max(g.Z,g.o).regex(g.V,g.o);i.z.object({name:I,type:I,kind:p.$.optional(),scopes:n.z.array(p.q).optional(),valueIds:n.z.array((0,m.f)("labelValue")).max(y.b).optional(),ownerOf:(0,m.f)("ship").optional(),owner:(0,m.f)("ship").optional(),note:t.z.string().trim().max(500,"A note is at most 500 characters").optional(),idempotencyKey:h.f}),i.z.object({shipId:(0,m.f)("ship")});let w=i.z.object({harness:t.z.string(),line:t.z.string()});i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string(),crewLines:n.z.array(w),secret:t.z.string()}),i.z.object({shipId:(0,m.f)("ship"),prompt:t.z.string().nullable(),crewLines:n.z.array(w).nullable(),secret:t.z.string().nullable(),startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable()}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),name:I}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship"),ownerShipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),l.z.strictObject({}),i.z.object({shipId:(0,m.f)("ship")}),i.z.object({abandonedDeliveries:r.z.int().min(0)}),i.z.object({shipId:(0,m.f)("ship")});let A=o.z.enum(["waiting","answered","acknowledged","undeliverable"]),x=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),kind:p.v,status:p.e,startingPrompt:i.z.object({issuedAt:a.z.iso.datetime(),isClaimed:s.z.boolean()}).nullable(),location:i.z.object({kind:p.p,description:t.z.string().nullable()}).nullable(),lastSeenAt:a.z.iso.datetime().nullable(),ping:i.z.object({state:A,sentAt:a.z.iso.datetime(),answeredAt:a.z.iso.datetime().nullable()}).nullable(),harness:t.z.string().nullable(),model:i.z.object({id:t.z.string(),statedAt:a.z.iso.datetime()}).nullable(),scopes:n.z.array(p.q),report:k.H.nullable(),activity:v.f.nullable(),crewRequest:j.i.nullable(),labels:n.z.array(y.B),awaitingCrewSince:a.z.iso.datetime().nullable(),retiredAt:a.z.iso.datetime().nullable(),ownerShipId:(0,m.f)("ship").nullable(),openAlertCount:r.z.int().min(0)}),O=i.z.object({id:(0,m.f)("ship"),name:t.z.string(),type:t.z.string(),status:p.e,isInReadReach:z.z.literal(!1)}),S=(0,f._)(c.z.union([x,O]),t.z.string()),C=c.z.union([x,O]);n.z.array(i.z.object({kind:p.v,active:r.z.int().min(0),crewed:r.z.int().min(0),awaitingCrew:r.z.int().min(0),retired:r.z.int().min(0),needsCrew:i.z.object({withTrierarchs:r.z.int().min(0),withoutTrierarchs:r.z.int().min(0)}),longestWait:i.z.object({id:(0,m.f)("ship"),name:t.z.string(),awaitingCrewSince:a.z.iso.datetime()}).nullable()})),i.z.object({lastEventId:t.z.string().regex(/^\d{1,15}$/,"A position is the number of an event").nullish()});let D=i.z.object({seq:d.z.number().int().positive(),id:(0,m.f)("event"),type:p.Q,occurredAt:a.z.iso.datetime(),actorKind:o.z.enum(["ship","account","installation","system"]),actorShipId:(0,m.f)("ship").nullable(),actorAccountId:u.f.nullable(),actorSignedInAccountId:u.f.nullable(),shipId:(0,m.f)("ship").nullable(),messageId:(0,m.f)("message").nullable(),deliveryId:(0,m.f)("delivery").nullable()});b.z.discriminatedUnion("kind",[i.z.object({kind:z.z.literal("event"),event:D}),i.z.object({kind:z.z.literal("resync")})]),i.z.object({ships:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0)}),dailyMessages:i.z.object({limit:r.z.int().min(0).nullable(),count:r.z.int().min(0),resetsAt:a.z.iso.datetime()}),retention:i.z.object({days:r.z.int().min(1).nullable(),keptFrom:a.z.iso.datetime().nullable()})}),e.s(["z",0,w,"d",0,S,"k",0,C,"u",0,x,"g",0,I,"x",0,O])},625792,903520,e=>{var t=e.i(759715),i=e.i(634189),n=e.i(123387),a=e.i(971724),s=e.i(105954),l=e.i(964171),r=e.i(600205),o=e.i(455744),z=e.i(146576),c=e.i(140561),d=e.i(206033),b=e.i(180473),p=e.i(226247),m=e.i(991329),u=e.i(604147),g=e.i(495494),h=e.i(422412),j=e.i(106320),y=e.i(396185),f=e.i(664358),v=e.i(579247),k=e.i(709075),I=e.i(106132),w=e.i(374784),A=e.i(925440),x=e.i(369311),O=e.i(737258);let S="[!#$%&'*+\\-.^_`|~0-9A-Za-z]+",C="[ \\t]*",D=RegExp(`^${S}/${S}(?:${C};${C}(?:${S}=(?:${S}|"(?:[\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*"))?)*$`),$="A content type is a media type such as text/plain or application/json; charset=utf-8, of at most 256 characters",B=s.z.string().max(256,$).refine(function(e){return D.test(e)},$),T=s.z.string().trim().min(1,"A model is the exact model id the session runs, such as claude-opus-5-5").max(100,`A model is at most ${String(100)} characters`).regex(/^\S+$/,"A model id has no spaces"),V=I.z.strictObject({kind:r.z.literal("label"),valueIds:o.z.array((0,h.f)("labelValue")).min(1,"A label selection names at least one value id").max(O.b,`A label selection names at most ${String(O.b)} value ids, as many as a ship carries`).refine(e=>new Set(e).size===e.length,"A label selection names each value id once")}),U=c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),I.z.strictObject({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),V]);c.z.union([I.z.strictObject({kind:r.z.literal("ship"),shipId:(0,h.f)("ship")}),I.z.strictObject({kind:r.z.literal("ship"),name:y.g}),I.z.strictObject({kind:r.z.literal("type"),type:y.g}),V]);let q=s.z.string().refine(e=>(0,A.y)(e)<=A.D,`A payload is at most ${A.D} bytes (256 KB) in UTF-8`),E=a.z.object({selector:U,payload:q,contentType:B.optional(),model:T.optional(),idempotencyKey:x.f,inReplyTo:(0,h.f)("message").optional(),isForced:b.z.boolean().optional()});a.z.object({messageId:(0,h.f)("message")}),e.s(["J",0,B,"l",0,E],903520),u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain","oauthSubject"]);let P=s.z.string().min(1).max(255),H=l.z.discriminatedUnion("checked",[I.z.strictObject({checked:u.z.enum(["clientIdDocumentDomain","tlsHost","a2aCardDomain"]),value:P}),I.z.strictObject({checked:r.z.literal("oauthSubject"),issuer:s.z.string().min(1).max(2048),value:P})]);function R(e){return JSON.stringify([e.checked,"issuer"in e?e.issuer:null,e.value])}a.z.object({shipId:(0,h.f)("ship"),facts:o.z.array(H).max(10,`A writer holds at most ${String(10)} facts about a ship`).refine(e=>new Set(e.map(R)).size===e.length,"Each fact once")}),I.z.strictObject({});let N={by:l.z.discriminatedUnion("kind",[I.z.strictObject({kind:r.z.literal("ship"),id:(0,h.f)("ship"),name:s.z.string()}),I.z.strictObject({kind:r.z.literal("account"),id:j.f}),I.z.strictObject({kind:r.z.literal("installation")})]),at:n.z.iso.datetime()},F=l.z.discriminatedUnion("checked",[H.options[0].extend(N),H.options[1].extend(N)]),M=p.z.record(s.z.string(),w.z.json()),W=I.z.strictObject({title:s.z.string().optional(),readOnlyHint:b.z.boolean().optional(),destructiveHint:b.z.boolean().optional(),idempotentHint:b.z.boolean().optional(),openWorldHint:b.z.boolean().optional()}),_=o.z.array(B).min(1,"Name at least one media type"),K=I.z.strictObject({name:s.z.string().regex(/^[A-Za-z0-9_.-]{1,128}$/,"A capability name is 1 to 128 letters, digits, _, - or ., as MCP names a tool"),title:s.z.string().optional(),description:s.z.string().optional(),inputSchema:M.optional(),outputSchema:M.optional(),inputModes:_.optional(),outputModes:_.optional(),waitMs:z.z.int().min(0).max(12e4).optional(),deadlineMs:z.z.int().min(1).max(6048e5).optional(),repeatable:b.z.boolean().optional(),scopes:o.z.array(g.q).optional(),annotations:W.optional()}),G=new TextEncoder,J=`A statement is at most ${String(262144)} bytes (256 KB) as JSON in UTF-8`;I.z.strictObject({summary:s.z.string().trim().min(1,"A statement has a summary").max(1e3,`A summary is at most ${String(1e3)} characters`),capabilities:o.z.array(K)}).refine(e=>new Set(e.capabilities.map(e=>e.name)).size===e.capabilities.length,{message:"A statement names each capability once",path:["capabilities"]}).refine(e=>G.encode(JSON.stringify(e)).byteLength<=262144,{message:J}),a.z.object({version:z.z.int().min(1)});let L=l.z.discriminatedUnion("by",[a.z.object({by:r.z.literal("crew"),version:z.z.int().min(1),summary:s.z.string(),capabilities:o.z.array(K)}),a.z.object({by:r.z.literal("commission"),note:s.z.string()})]).nullable();a.z.object({ships:o.z.array(a.z.object({id:(0,h.f)("ship"),name:s.z.string(),type:s.z.string(),kind:g.v,status:g.e,statement:L,verified:o.z.array(F)})),types:o.z.array(a.z.object({type:s.z.string(),reachable:z.z.int().min(1)}))});let Y=u.z.enum(["idle","busy"]);a.z.object({turn:Y,at:n.z.iso.datetime()}),I.z.strictObject({});let Z=n.z.iso.datetime(),Q=a.z.object({id:(0,h.f)("ship"),name:s.z.string()}),X=a.z.object({valueId:(0,h.f)("labelValue"),key:s.z.string().nullable(),value:s.z.string().nullable()}),ee=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("ship"),ship:Q}),a.z.object({kind:r.z.literal("type"),type:s.z.string()}),a.z.object({kind:r.z.literal("meeting"),meetingId:(0,h.f)("meeting")}),a.z.object({kind:r.z.literal("label"),values:o.z.array(X).readonly()})]),et=a.z.object({shipId:(0,h.f)("ship")}),ei=y.u.extend({report:v.Y.extend({detailsBytes:z.z.int().min(0).nullable()}).nullable(),crewRequest:f.M.nullable(),commissionedAt:Z,crewedSince:Z.nullable(),removedAt:Z.nullable(),inFlightDeliveries:z.z.int().min(0),openDeliveries:z.z.int().min(0),owner:Q.nullable(),commissionedByShipId:(0,h.f)("ship").nullable(),statement:L,openAlerts:o.z.array(t.f),expectations:i.f}),en=c.z.union([ei,y.x]),ea=a.z.object({seq:d.z.number().int().positive(),id:(0,h.f)("event"),type:g.Q,occurredAt:Z,actor:Q.nullable(),signedInAccountId:j.f.nullable(),ship:Q.nullable(),message:a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,contentType:s.z.string(),isPing:b.z.boolean(),model:s.z.string().nullable()}).nullable(),details:p.z.record(s.z.string(),c.z.union([s.z.string(),d.z.number(),b.z.boolean(),m.z.null()]))});et.extend((0,k.G)((0,h.f)("event")).shape),(0,k._)(ea,(0,h.f)("event"));let es=a.z.object({id:(0,h.f)("message"),sender:Q,recipient:ee,inReplyTo:(0,h.f)("message").nullable(),sentAt:Z,contentType:s.z.string(),model:s.z.string().nullable(),preview:s.z.string(),isPayloadUnreadable:b.z.boolean(),isPayloadSealed:b.z.boolean(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,claimedBy:Q.nullable(),isPulled:b.z.boolean()})});et.extend((0,k.G)((0,h.f)("message")).shape),(0,k._)(es,(0,h.f)("message"));let el=a.z.object({messageId:(0,h.f)("message")}),er=u.z.enum(["notConfirmed","idle","busy"]),eo=u.z.enum(["released","retired","deregistered","takenOver","signedOut","passwordReset","accountCutOff"]);u.z.enum(["trierarch","pluginWatcher","personApp","gateway","adapter"]);let ez=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("trierarch"),trierarch:Q}),a.z.object({kind:r.z.literal("pluginWatcher")}),a.z.object({kind:r.z.literal("personApp")}),a.z.object({kind:r.z.literal("gateway")}),a.z.object({kind:r.z.literal("adapter")})]),ec=l.z.discriminatedUnion("kind",[a.z.object({kind:r.z.literal("fleet")}),...ez.options,a.z.object({kind:r.z.literal("agent")})]),ed=a.z.object({seq:d.z.number().int().positive(),type:u.z.enum(["MessageAccepted","DeliveryReceived","DeliveryHanded","DeliveryReturned","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryAbandoned","DeliveryDismissed"]),occurredAt:Z,ship:Q.nullable(),location:a.z.object({kind:g.p,description:s.z.string().nullable()}).nullable(),harness:s.z.string().nullable(),attempts:d.z.number().int().nonnegative().nullable(),by:ez.nullable(),handOverNumber:z.z.int().min(1).nullable(),channel:s.z.string().nullable(),isAgain:b.z.boolean(),isOnceMore:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1)}).nullable(),leaseEnd:eo.nullable()}),eb=a.z.object({holder:ec.nullable(),since:Z,isPulled:b.z.boolean(),overdue:a.z.object({clock:er,minutes:z.z.int().min(1),toldAt:Z}).nullable(),lease:a.z.object({by:ez.nullable(),isEnded:b.z.boolean(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),crew:a.z.object({status:f.u,attempt:z.z.int().min(0),startedAt:Z.nullable()}).nullable()}),ep=a.z.object({id:(0,h.f)("message"),sender:Q,sentAt:Z}),em=a.z.object({id:(0,h.f)("delivery"),ship:Q.nullable(),state:g.h,since:Z,progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()}),eu=es.omit({preview:!0,delivery:!0}).extend({payload:s.z.string(),replies:o.z.array(ep),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:d.z.number().int().nonnegative(),claimedBy:Q.nullable(),way:eb,history:o.z.array(ed)}),deliveryCount:z.z.int().min(0),progress:v.Y.pick({state:!0,note:!0,step:!0,reportChangedAt:!0}).nullable()});el.extend((0,k.G)((0,h.f)("delivery")).shape),(0,k._)(em,(0,h.f)("delivery")),a.z.object({lease:a.z.object({by:ez.nullable(),turn:a.z.object({turn:Y,at:Z}).nullable()}).nullable(),waiting:z.z.int().min(0),oldest:a.z.object({messageId:(0,h.f)("message"),sentAt:Z,contentType:s.z.string(),delivery:a.z.object({id:(0,h.f)("delivery"),state:g.h,attempts:z.z.int().min(0),way:eb})}).nullable()}),e.s(["V",0,eu,"l",0,Q,"h",0,en],625792)},737258,992328,e=>{var t=e.i(105954),i=e.i(971724),n=e.i(455744),a=e.i(964171),s=e.i(600205),l=e.i(146576),r=e.i(604147),o=e.i(180473),z=e.i(495494),c=e.i(422412),d=e.i(596282),b=e.i(664358),p=e.i(709075);let m=t.z.string(),u=i.z.object({id:(0,c.f)("labelValue"),value:t.z.string()}),g=i.z.object({labelId:(0,c.f)("label"),key:t.z.string(),valueId:(0,c.f)("labelValue"),value:t.z.string()}),h=r.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),j=i.z.object({query:t.z.string().optional(),nameQuery:t.z.string().optional(),name:t.z.string().optional(),status:n.z.array(z.e).optional(),type:n.z.array(t.z.string()).optional(),shipKind:n.z.array(z.v).optional(),crewRequest:n.z.array(b.k).optional(),assignedTo:n.z.array((0,c.f)("ship")).optional(),needsCrew:r.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:n.z.array((0,c.f)("labelValue")).optional(),shipIds:n.z.array((0,c.f)("ship")).optional(),kind:n.z.array(h).optional(),pluginShipIds:n.z.array((0,c.f)("ship")).optional(),state:n.z.array(r.z.enum(d.f)).optional()});i.z.object({filter:j.optional()}).optional(),i.z.object({status:n.z.array(z.e).optional()}).optional(),n.z.array(i.z.object({type:t.z.string(),ships:l.z.int().min(0)}));let y=i.z.object({column:r.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:r.z.enum(["ascending","descending"])}),f=i.z.object({isEmpty:o.z.boolean(),value:t.z.string(),name:t.z.string(),id:(0,c.f)("ship")}),v=t.z.string().max(4096).transform(function(e){try{let t=atob(e.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(t,e=>e.charCodeAt(0))))}catch{return}}).pipe(f);(0,p.G)(v).extend({...j.shape,sort:y.optional()}).optional(),i.z.object({key:m,values:n.z.array(m)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label"),values:n.z.array(m)}),i.z.object({values:n.z.array(u)}),i.z.object({labelId:(0,c.f)("label")}),i.z.object({key:m,value:m}),i.z.object({labelId:(0,c.f)("label"),valueId:(0,c.f)("labelValue")}),i.z.object({shipId:(0,c.f)("ship"),valueId:(0,c.f)("labelValue")}),i.z.object({});let k=a.z.discriminatedUnion("kind",[i.z.object({kind:s.z.literal("ship"),id:(0,c.f)("ship"),name:t.z.string()}),i.z.object({kind:s.z.literal("installation")})]),I=i.z.object({id:(0,c.f)("label"),key:t.z.string(),values:n.z.array(u),owner:k});n.z.array(I.extend({shipCount:l.z.int().min(0),values:n.z.array(u.extend({shipCount:l.z.int().min(0)}))})),e.s(["b",0,20,"B",0,g],737258);var w=e.i(123387);let A=r.z.enum(["text","tool","result","error"]);i.z.object({intervalSeconds:l.z.int().min(1).max(86400),activities:n.z.array(i.z.object({shipId:(0,c.f)("ship"),at:w.z.iso.datetime(),kind:A,tool:t.z.string().trim().min(1).max(100).optional()})).min(1).max(100)}),i.z.object({refused:n.z.array(i.z.object({shipId:(0,c.f)("ship"),code:t.z.string(),message:t.z.string()}))});let x=i.z.object({at:w.z.iso.datetime(),kind:A,tool:t.z.string().nullable(),reportedAt:w.z.iso.datetime(),intervalSeconds:l.z.int().min(1)});e.s(["f",0,x],992328)},709075,691141,e=>{var t=e.i(971724),i=e.i(146576),n=e.i(455744);e.s(["f",0,500],691141),e.s(["G",0,function(e){return t.z.object({cursor:e.optional(),limit:i.z.int().min(1).max(500).optional()})},"_",0,function(e,i){return t.z.object({items:n.z.array(e),nextCursor:i.nullable()})}],709075)},579247,e=>{var t=e.i(226247),i=e.i(105954),n=e.i(374784),a=e.i(971724),s=e.i(206033),l=e.i(106132),r=e.i(180473),o=e.i(123387),z=e.i(146576);let c=e.i(604147).z.enum(["working","blocked","idle"]),d=`A note is one line of at most ${String(200)} characters`;new TextEncoder;let b=t.z.record(i.z.string(),n.z.json()),p=a.z.object({kind:i.z.string()}).catchall(n.z.json()),m=a.z.object({at:s.z.number(),of:s.z.number()});a.z.object({state:c,note:i.z.string().trim().max(200,d).refine(function(e){return!/[\r\n]/.test(e)},d).optional(),details:b.nullable().optional(),detailsPatch:b.nullable().optional(),task:p.nullable().optional(),step:m.nullable().optional()}).refine(e=>void 0===e.details||void 0===e.detailsPatch,{message:"Give details or detailsPatch, not both",path:["detailsPatch"]}),l.z.strictObject({});let u=a.z.object({state:c,note:i.z.string().nullable(),task:p.nullable(),taskView:a.z.object({canOpen:r.z.boolean(),fleetName:i.z.string().nullable()}).optional(),step:m.nullable(),reportedAt:o.z.iso.datetime(),reportChangedAt:o.z.iso.datetime(),detailsVersion:z.z.int().min(0)}),g=u.extend({details:b.nullable()});a.z.object({report:g.nullable(),previousCrew:g.nullable()}),e.s(["H",0,u,"Y",0,g,"W",0,p])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_150036kwj6wab._.js.map
|
package/.next/standalone/packages/console/.next/server/chunks/packages_console_1wbjk69aa7h5_._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[6441,468681,193628,180928,e=>{"use strict";var t=e.i(971724),o=e.i(105954),r=e.i(706806),s=e.i(827030);function a(e){let t=e.AEOLUS_GATEWAY_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}e.s(["f",0,a],468681);var n=e.i(720942);function i(e){let t=e.AEOLUS_SQUADRONS_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}function c(e){let t=e.AEOLUS_TRIERARCH_PLUGIN_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}e.s(["f",0,i],193628),e.s(["f",0,c],180928);let l=t.z.object({server:o.z.string(),common:o.z.string()}),u=t.z.object({trierarchPlugin:o.z.string()}),d=t.z.object({result:t.z.object({data:l.extend({migration:o.z.string().nullable()})})});async function p(e,t){try{let o=await fetch(e,{cache:"no-store",headers:void 0===t?{}:{cookie:t},signal:AbortSignal.timeout(3e3)});return{isOk:o.ok,body:await o.json()}}catch{return null}}async function m(e){let t=await p(`${e}/api/version`),o=l.safeParse(t?.body);return t?.isOk===!0&&o.success?o.data:null}async function y(e,t){let o=await p(`${e}/trpc/system.version`,t),r=d.safeParse(o?.body);return o?.isOk===!0&&r.success?r.data.result.data:void 0}async function f(e,r){let s=await p(`${e}/api/version`),a=t.z.object({[r]:o.z.string()}).safeParse(s?.body);return s?.isOk===!0&&a.success?a.data[r]??null:null}let b=[{key:"squadrons",urlFrom:i},{key:"trierarchPlugin",urlFrom:c},{key:"gateway",urlFrom:a}];async function k(e){return Object.fromEntries((await Promise.all(b.map(async({key:t,urlFrom:o})=>{let r=o(e);return void 0===r?[]:[[t,await f(r,t)]]}))).flat())}async function v(e,t={}){let o=t.web??r.default.version,a=(0,n.f)(e),i=t.cookie??"",c=i.split(";").some(e=>e.trim().startsWith(`${s.J}=`))?await y(a,i):void 0;return void 0===c?{web:o,server:await m(a)}:{web:o,server:c,...await k(e)}}e.s(["n",0,function(e){let t=u.safeParse(e);return t.success?t.data.trierarchPlugin:void 0},"_",0,v],6441)},706806,(e,t,o)=>{t.exports={name:"@aeolus-fleet/console",version:"0.38.
|
|
1
|
+
module.exports=[6441,468681,193628,180928,e=>{"use strict";var t=e.i(971724),o=e.i(105954),r=e.i(706806),s=e.i(827030);function a(e){let t=e.AEOLUS_GATEWAY_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}e.s(["f",0,a],468681);var n=e.i(720942);function i(e){let t=e.AEOLUS_SQUADRONS_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}function c(e){let t=e.AEOLUS_TRIERARCH_PLUGIN_URL;return void 0===t||""===t?void 0:t.replace(/\/+$/,"")}e.s(["f",0,i],193628),e.s(["f",0,c],180928);let l=t.z.object({server:o.z.string(),common:o.z.string()}),u=t.z.object({trierarchPlugin:o.z.string()}),d=t.z.object({result:t.z.object({data:l.extend({migration:o.z.string().nullable()})})});async function p(e,t){try{let o=await fetch(e,{cache:"no-store",headers:void 0===t?{}:{cookie:t},signal:AbortSignal.timeout(3e3)});return{isOk:o.ok,body:await o.json()}}catch{return null}}async function m(e){let t=await p(`${e}/api/version`),o=l.safeParse(t?.body);return t?.isOk===!0&&o.success?o.data:null}async function y(e,t){let o=await p(`${e}/trpc/system.version`,t),r=d.safeParse(o?.body);return o?.isOk===!0&&r.success?r.data.result.data:void 0}async function f(e,r){let s=await p(`${e}/api/version`),a=t.z.object({[r]:o.z.string()}).safeParse(s?.body);return s?.isOk===!0&&a.success?a.data[r]??null:null}let b=[{key:"squadrons",urlFrom:i},{key:"trierarchPlugin",urlFrom:c},{key:"gateway",urlFrom:a}];async function k(e){return Object.fromEntries((await Promise.all(b.map(async({key:t,urlFrom:o})=>{let r=o(e);return void 0===r?[]:[[t,await f(r,t)]]}))).flat())}async function v(e,t={}){let o=t.web??r.default.version,a=(0,n.f)(e),i=t.cookie??"",c=i.split(";").some(e=>e.trim().startsWith(`${s.J}=`))?await y(a,i):void 0;return void 0===c?{web:o,server:await m(a)}:{web:o,server:c,...await k(e)}}e.s(["n",0,function(e){let t=u.safeParse(e);return t.success?t.data.trierarchPlugin:void 0},"_",0,v],6441)},706806,(e,t,o)=>{t.exports={name:"@aeolus-fleet/console",version:"0.38.4",description:"The Aeolus console: see every ship, answer your agents and manage the fleet from any device.",keywords:["ai-agents","claude-code","codex","dashboard","fleet","self-hosted"],license:"Apache-2.0",type:"module",repository:{type:"git",url:"git+https://github.com/ThomasHendrickx/aeolus-fleet.git",directory:"packages/console"},engines:{node:">=26"},bin:{"aeolus-console":"bin/aeolus-console.js"},files:["bin",".next/standalone","!.next/standalone/**/*.map"],scripts:{predev:"npm run build --workspace @aeolus-fleet/common --workspace @aeolus-fleet/ui",dev:"next dev --port 3000",build:"next build && node scripts/standalone.ts",start:"node bin/aeolus-console.js start",typecheck:"next typegen && tsc --project tsconfig.json",storybook:"storybook dev --port 6006","build-storybook":"storybook build --output-dir storybook-static",prepack:"cp ../../LICENSE LICENSE",postpack:"rm LICENSE"},devDependencies:{"@aeolus-fleet/common":"0.38.4","@aeolus-fleet/core":"0.38.4","@aeolus-fleet/ui":"0.38.4","@base-ui/react":"^1.8.0","@opentelemetry/api":"^1.9.1","@opentelemetry/exporter-trace-otlp-grpc":"^0.223.0","@opentelemetry/exporter-trace-otlp-http":"^0.223.0","@opentelemetry/exporter-trace-otlp-proto":"^0.223.0","@opentelemetry/sdk-metrics":"^2.12.0","@opentelemetry/sdk-node":"^0.223.0","@opentelemetry/sdk-trace-base":"^2.12.0","@storybook/addon-vitest":"^10.6.1","@storybook/nextjs-vite":"^10.6.1","@tailwindcss/postcss":"^4.3.3","@tanstack/react-query":"^5.104.0","@trpc/client":"^11.19.0","@trpc/tanstack-react-query":"^11.19.0","@types/mdast":"^4.0.4","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","@vitest/browser-playwright":"^5.0.3","class-variance-authority":"^0.7.1",clsx:"^2.1.1","lucide-react":"^1.51.0","mdast-util-from-markdown":"^2.1.0","mdast-util-gfm":"^3.1.0","micromark-extension-gfm":"^3.0.0",next:"16.4.2",react:"^19.3.0","react-dom":"^19.3.0","react-hook-form":"^7.90.0",sonner:"^2.0.8",storybook:"^10.6.1","tailwind-merge":"^3.7.0",tailwindcss:"^4.3.3","tw-animate-css":"^1.4.0"}}}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=packages_console_1wbjk69aa7h5_._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[356365,a=>{a.v(b=>Promise.all(["server/chunks/ssr/packages_console_1kjre6bn99mgx._.js","server/chunks/ssr/_1ty7qba6hzo0m._.js","server/chunks/ssr/packages_ui_dist_atoms_tooltip_0r5l7z92dxxah.js","server/chunks/ssr/0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_00objgim-e_v8._.js","server/chunks/ssr/packages_console_components_molecules_machine-labels-field_tsx_0gg0r9y8-a4ud._.js"].map(b=>a.l(b))).then(()=>b(737440)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=0ysl_console_features_squadrons_ui_organisms_form-squadron-
|
|
3
|
+
//# sourceMappingURL=0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_08cnflqx-bnho._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[126766,a=>{var b=a.i(164831);let c={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],126766)},824648,a=>{var b=a.i(370025),c=a.i(937927),d=a.i(262700),e=a.i(633308),f=a.i(405050);let g=(0,f.createServerReference)("
|
|
1
|
+
(()=>{"use strict";module.exports=[126766,a=>{var b=a.i(164831);let c={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],126766)},824648,a=>{var b=a.i(370025),c=a.i(937927),d=a.i(262700),e=a.i(633308),f=a.i(405050);let g=(0,f.createServerReference)("0090eb8fbb000ad89f47aba2afb9b3af64074c6580",f.callServer,void 0,f.findSourceMapURL,"connectGateway");var h=a.i(216629),i=a.i(853272);let j=["gateway","connection"];function k(){return(0,d.f)({queryKey:j,queryFn:()=>(0,e.f)({read:"gateway-connection"})})}a.s(["Q",0,function(){let a=(0,c.d)();return(0,b.f)({mutationFn:()=>(0,i.x)(g,h.H),onSuccess:b=>{a.setQueryData(j,b)}})},"_",0,k,"u",0,function(){let a=k();return void 0!==a.data&&"none"!==a.data.state}],824648)},534159,a=>{var b=a.i(565563),c=a.i(824648),d=a.i(626408),e=a.i(433217),f=a.i(514499),g=a.i(254763),h=a.i(929931),i=a.i(493454);a.s(["f",0,function(){var a,j;let k,l=(0,b.Q)(),m=(0,g.H)(),n=(0,i.i)(),o=(0,c.u)(),p=(0,d.G)(),q=(0,i.t)(),r=(k=(0,f.I)(),(0,e.f)(k.fleet.shipCounts.queryOptions()));return{...void 0===r.data?{}:{needsCrewCount:(a=r.data,j={hasTrierarchs:n},a.reduce((a,b)=>a+(j.hasTrierarchs?b.needsCrew.withTrierarchs:b.needsCrew.withoutTrierarchs),0))},hasSquadrons:m,hasTrierarchs:n,...void 0===q.data?{}:{trierarchsCount:(0,h.m)(q.data)},hasNetwork:l.canEditNetwork,hasSettings:l.canManage&&(m||n||o||p)}}],534159)}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0a5k9_pc_guhs._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[435784,a=>{var b=a.i(57441);a.s(["z",0,b])},861954,a=>{var b=a.i(57441);a.s(["z",0,b])},231838,703729,616405,a=>{var b=a.i(57441);a.s(["z",0,b],231838),a.s(["z",0,b],703729),a.s(["z",0,b],616405)},445233,a=>{var b=a.i(57441);a.s(["z",0,b])},400606,a=>{var b=a.i(57441);a.s(["z",0,b])},332485,a=>{var b=a.i(57441);a.s(["z",0,b])},90758,338509,a=>{var b=a.i(57441);a.s(["z",0,b],90758),a.s(["z",0,b],338509)},592225,97011,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(694796),f=a.i(332485),g=a.i(435784),h=a.i(445233);let i=h.z.enum(["messages:send","messages:receive","messages:force","messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","scopes:declare","scopes:grant","scopes:define","meetings:open","fleet:keys","fleet:alert"]),j=["messages","fleet","crew","labels","scopes","meetings"],k="[a-z][a-z0-9-]{0,31}";RegExp(`^${k}$`);let l=RegExp(`^${k}:${k}$`),m=b.z.string().regex(l,"A scope is <namespace>:<action>").refine(a=>{var b;return b=a.slice(0,a.indexOf(":")),!j.some(a=>a===b)||i.safeParse(a).success},"No such core scope");h.z.enum(["messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","meetings:open","fleet:alert"]);let n=h.z.enum(["operator","agent","viewer","person","app","plugin"]),o=h.z.enum(["agent","person","app","plugin"]),p=h.z.enum(["DEVICE","CLOUD","SERVER","OTHER"]),q=h.z.enum(["awaitingCrew","crewed","retired"]);h.z.enum(["ship","type","meeting","label"]);let r=h.z.enum(["pending","received","handed","acknowledged","handled","notHandled","undeliverable","dismissed","abandoned"]),s=h.z.enum(["FleetInitialised","ShipCommissioned","OwnerSet","OwnerChanged","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","OperatorPasswordReset","OperatorLoginSet","MessageAccepted","LeasePushed","DeliveryReceived","DeliveryHanded","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryReturned","ShipRetired","DeliveryAbandoned","DeliveryDismissed","ShipRenamed","ShipReported","StatementSet","TurnReported","SignInTicketIssued","FleetLimitsChanged","ViewerSessionStarted","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted","WorktreeClearRequested","WorktreeCleared","WorktreeClearRemoved","NetworkRulesSet","NetworkRulesDeclared","NetworkRulesDraftSaved","NetworkRulesDraftDiscarded","NetworkPluginRegistered","NetworkPluginUnregistered","BuiltInRuleChanged","ScopesDeclared","ScopesChanged","ScopeDefined","ScopeDescribed","ScopeRemoved","PluginConnected","PluginDisconnected","VerifiedFactsSet","VerifiedFactsRemoved","MeetingOpened","ParticipantAdded","MicRequested","MicRequestWithdrawn","MicGiven","MicReleased","MicTaken","MicPatternSet","ParticipantLeft","ParticipantRejoined","ParticipantRevoked","OwnershipTransferred","ModeratorNamed","MeetingEnded","ScheduleCreated","ScheduleCancelled","ScheduledSendRefused","ScheduledSendMissed","SchedulePaused","ScheduleResumed","ScheduleEnded","HistoryPruned","FleetSealingTurnedOn","FleetPayloadsSealed","FleetKeyUnavailable","FleetKeyAvailable","FleetDataKeyCreated","FleetCompanyKeyChanged","FleetRecoveryKeyChanged","FleetKeysRecovered","FeatureFlagTurnedOn","FeatureFlagTurnedOff","AlertRaised","AlertCleared","ExpectationsSet"]);a.s(["$",0,o,"h",0,r,"Q",0,s,"p",0,p,"q",0,m,"v",0,n,"e",0,q],97011);var t=a.i(813660);let u=b.z.string().min(1).max(128).brand();c.z.object({iss:b.z.string(),aud:(0,t.f)("fleet"),sub:u,org:b.z.string().min(1),scope:b.z.string(),group:d.z.array(b.z.string()),person_ship:(0,t.f)("ship").optional(),argo:e.z.boolean().optional(),iat:f.z.number(),exp:f.z.number()}).transform((a,b)=>{let c=a.scope.split(" ").filter(a=>""!==a),e=d.z.array(m).safeParse(c);return e.success?{issuer:a.iss,fleetId:a.aud,accountId:a.sub,organisationId:a.org,scopes:e.data,groupValues:a.group,personShipId:a.person_ship??null,isArgoAllowed:a.argo??!1,issuedAt:new Date(1e3*a.iat),endsAt:new Date(1e3*a.exp)}:(b.addIssue({code:"custom",message:"scope holds a malformed or unknown scope",path:["scope"]}),g.z.NEVER)}),a.s(["f",0,u],592225)},597487,a=>{var b=a.i(90758),c=a.i(998868),d=a.i(338509),e=a.i(445233),f=a.i(246059),g=a.i(400606),h=a.i(472142),i=a.i(689812),j=a.i(861954),k=a.i(694796),l=a.i(813660);new TextEncoder;let m=b.z.record(c.z.string(),d.z.json()),n=["crewing","running","restarting","crashed","releasing"],o=e.z.enum(n),p=["none","needsCrew","crewedByHand",...n],q=e.z.enum(p),r=`A reason is one line of at most ${String(200)} characters`;f.z.object({shipId:(0,l.f)("ship"),settings:m}),f.z.object({settingsVersion:g.z.int().min(1)}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({});let s=f.z.object({settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),assignedTo:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),status:o.nullable(),reason:c.z.string().nullable(),crewedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),attempt:g.z.int().min(0),startedAt:i.z.iso.datetime().nullable(),givenBack:j.z.array(f.z.object({trierarch:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}),settingsVersion:g.z.int().min(1),reason:c.z.string(),givenBackAt:i.z.iso.datetime()}))}),t=s.extend({settings:m});f.z.object({shipId:(0,l.f)("ship"),trierarchShipId:(0,l.f)("ship")}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),status:o,attempt:g.z.int().min(0).optional(),startedAt:i.z.iso.datetime().nullable().optional()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({}),j.z.array(f.z.object({shipId:(0,l.f)("ship"),settings:m,settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),status:o.nullable(),isFinal:k.z.boolean(),ownerShipId:(0,l.f)("ship").nullable(),ownerName:c.z.string().nullable()})),f.z.object({shipId:(0,l.f)("ship"),reason:c.z.string().trim().max(200,r).refine(a=>!/[\r\n]/.test(a),r).nullable()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),settingsVersion:g.z.int().min(1),reason:c.z.string().trim().min(1,r).max(200,r).refine(a=>!/[\r\n]/.test(a),r)}),h.z.strictObject({}),a.s(["k",0,q,"M",0,t,"u",0,o,"i",0,s])},817914,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(231838),f=a.i(703729),g=a.i(400606),h=a.i(445233),i=a.i(694796),j=a.i(97011),k=a.i(813660),l=a.i(368374),m=a.i(597487),n=a.i(580511);let o=b.z.string(),p=c.z.object({id:(0,k.f)("labelValue"),value:b.z.string()}),q=c.z.object({labelId:(0,k.f)("label"),key:b.z.string(),valueId:(0,k.f)("labelValue"),value:b.z.string()}),r=h.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),s=c.z.object({query:b.z.string().optional(),nameQuery:b.z.string().optional(),name:b.z.string().optional(),status:d.z.array(j.e).optional(),type:d.z.array(b.z.string()).optional(),shipKind:d.z.array(j.v).optional(),crewRequest:d.z.array(m.k).optional(),assignedTo:d.z.array((0,k.f)("ship")).optional(),needsCrew:h.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:d.z.array((0,k.f)("labelValue")).optional(),shipIds:d.z.array((0,k.f)("ship")).optional(),kind:d.z.array(r).optional(),pluginShipIds:d.z.array((0,k.f)("ship")).optional(),state:d.z.array(h.z.enum(l.E)).optional()});c.z.object({filter:s.optional()}).optional(),c.z.object({status:d.z.array(j.e).optional()}).optional(),d.z.array(c.z.object({type:b.z.string(),ships:g.z.int().min(0)}));let t=c.z.object({column:h.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:h.z.enum(["ascending","descending"])}),u=c.z.object({isEmpty:i.z.boolean(),value:b.z.string(),name:b.z.string(),id:(0,k.f)("ship")}),v=b.z.string().max(4096).transform(function(a){try{let b=atob(a.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(b,a=>a.charCodeAt(0))))}catch{return}}).pipe(u);(0,n.G)(v).extend({...s.shape,sort:t.optional()}).optional(),c.z.object({key:o,values:d.z.array(o)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(o)}),c.z.object({values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label")}),c.z.object({key:o,value:o}),c.z.object({labelId:(0,k.f)("label"),valueId:(0,k.f)("labelValue")}),c.z.object({shipId:(0,k.f)("ship"),valueId:(0,k.f)("labelValue")}),c.z.object({});let w=e.z.discriminatedUnion("kind",[c.z.object({kind:f.z.literal("ship"),id:(0,k.f)("ship"),name:b.z.string()}),c.z.object({kind:f.z.literal("installation")})]),x=c.z.object({id:(0,k.f)("label"),key:b.z.string(),values:d.z.array(p),owner:w});d.z.array(x.extend({shipCount:g.z.int().min(0),values:d.z.array(p.extend({shipCount:g.z.int().min(0)}))})),a.s(["b",0,20,"B",0,q])},580511,a=>{var b=a.i(246059),c=a.i(400606),d=a.i(861954),e=a.i(77458);a.s(["G",0,function(a){return b.z.object({cursor:a.optional(),limit:c.z.int().min(1).max(e.f).optional()})},"_",0,function(a,c){return b.z.object({items:d.z.array(a),nextCursor:c.nullable()})}])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[435784,a=>{var b=a.i(57441);a.s(["z",0,b])},861954,a=>{var b=a.i(57441);a.s(["z",0,b])},231838,703729,616405,a=>{var b=a.i(57441);a.s(["z",0,b],231838),a.s(["z",0,b],703729),a.s(["z",0,b],616405)},445233,a=>{var b=a.i(57441);a.s(["z",0,b])},400606,a=>{var b=a.i(57441);a.s(["z",0,b])},332485,a=>{var b=a.i(57441);a.s(["z",0,b])},90758,338509,a=>{var b=a.i(57441);a.s(["z",0,b],90758),a.s(["z",0,b],338509)},592225,97011,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(694796),f=a.i(332485),g=a.i(435784),h=a.i(445233);let i=h.z.enum(["messages:send","messages:receive","messages:force","messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","scopes:declare","scopes:grant","scopes:define","meetings:open","fleet:keys","fleet:alert"]),j=["messages","fleet","crew","labels","scopes","meetings"],k="[a-z][a-z0-9-]{0,31}";RegExp(`^${k}$`);let l=RegExp(`^${k}:${k}$`),m=b.z.string().regex(l,"A scope is <namespace>:<action>").refine(a=>{var b;return b=a.slice(0,a.indexOf(":")),!j.some(a=>a===b)||i.safeParse(a).success},"No such core scope");h.z.enum(["messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","meetings:open","fleet:alert"]);let n=h.z.enum(["operator","agent","viewer","person","app","plugin"]),o=h.z.enum(["agent","person","app","plugin"]),p=h.z.enum(["DEVICE","CLOUD","SERVER","OTHER"]),q=h.z.enum(["awaitingCrew","crewed","retired"]);h.z.enum(["ship","type","meeting","label"]);let r=h.z.enum(["pending","received","handed","acknowledged","handled","notHandled","undeliverable","dismissed","abandoned"]),s=h.z.enum(["FleetInitialised","ShipCommissioned","OwnerSet","OwnerChanged","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","OperatorPasswordReset","OperatorLoginSet","MessageAccepted","LeasePushed","DeliveryReceived","DeliveryHanded","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryReturned","ShipRetired","DeliveryAbandoned","DeliveryDismissed","ShipRenamed","ShipReported","StatementSet","TurnReported","SignInTicketIssued","FleetLimitsChanged","ViewerSessionStarted","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted","WorktreeClearRequested","WorktreeCleared","WorktreeClearRemoved","NetworkRulesSet","NetworkRulesDeclared","NetworkRulesDraftSaved","NetworkRulesDraftDiscarded","NetworkPluginRegistered","NetworkPluginUnregistered","BuiltInRuleChanged","ScopesDeclared","ScopesChanged","ScopeDefined","ScopeDescribed","ScopeRemoved","PluginConnected","PluginDisconnected","VerifiedFactsSet","VerifiedFactsRemoved","MeetingOpened","ParticipantAdded","MicRequested","MicRequestWithdrawn","MicGiven","MicReleased","MicTaken","MicPatternSet","ParticipantLeft","ParticipantRejoined","ParticipantRevoked","OwnershipTransferred","ModeratorNamed","MeetingEnded","ScheduleCreated","ScheduleCancelled","ScheduledSendRefused","ScheduledSendMissed","SchedulePaused","ScheduleResumed","ScheduleEnded","HistoryPruned","FleetSealingTurnedOn","FleetPayloadsSealed","FleetKeyUnavailable","FleetKeyAvailable","FleetDataKeyCreated","FleetCompanyKeyChanged","FleetRecoveryKeyChanged","FleetKeysRecovered","FeatureFlagTurnedOn","FeatureFlagTurnedOff","AlertRaised","AlertCleared","ExpectationsSet"]);a.s(["$",0,o,"h",0,r,"Q",0,s,"p",0,p,"q",0,m,"v",0,n,"e",0,q],97011);var t=a.i(813660);let u=b.z.string().min(1).max(128).brand();c.z.object({iss:b.z.string(),aud:(0,t.f)("fleet"),sub:u,org:b.z.string().min(1),scope:b.z.string(),group:d.z.array(b.z.string()),person_ship:(0,t.f)("ship").optional(),argo:e.z.boolean().optional(),iat:f.z.number(),exp:f.z.number()}).transform((a,b)=>{let c=a.scope.split(" ").filter(a=>""!==a),e=d.z.array(m).safeParse(c);return e.success?{issuer:a.iss,fleetId:a.aud,accountId:a.sub,organisationId:a.org,scopes:e.data,groupValues:a.group,personShipId:a.person_ship??null,isArgoAllowed:a.argo??!1,issuedAt:new Date(1e3*a.iat),endsAt:new Date(1e3*a.exp)}:(b.addIssue({code:"custom",message:"scope holds a malformed or unknown scope",path:["scope"]}),g.z.NEVER)}),a.s(["f",0,u],592225)},597487,a=>{var b=a.i(90758),c=a.i(998868),d=a.i(338509),e=a.i(445233),f=a.i(246059),g=a.i(400606),h=a.i(472142),i=a.i(689812),j=a.i(861954),k=a.i(694796),l=a.i(813660);new TextEncoder;let m=b.z.record(c.z.string(),d.z.json()),n=["crewing","running","restarting","crashed","releasing"],o=e.z.enum(n),p=["none","needsCrew","crewedByHand",...n],q=e.z.enum(p),r=`A reason is one line of at most ${String(200)} characters`;f.z.object({shipId:(0,l.f)("ship"),settings:m}),f.z.object({settingsVersion:g.z.int().min(1)}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({});let s=f.z.object({settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),assignedTo:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),requestedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),status:o.nullable(),reason:c.z.string().nullable(),crewedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),attempt:g.z.int().min(0),startedAt:i.z.iso.datetime().nullable(),givenBack:j.z.array(f.z.object({trierarch:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}),settingsVersion:g.z.int().min(1),reason:c.z.string(),givenBackAt:i.z.iso.datetime()}))}),t=s.extend({settings:m});f.z.object({shipId:(0,l.f)("ship"),trierarchShipId:(0,l.f)("ship")}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),status:o,attempt:g.z.int().min(0).optional(),startedAt:i.z.iso.datetime().nullable().optional()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({}),j.z.array(f.z.object({shipId:(0,l.f)("ship"),settings:m,settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),status:o.nullable(),isFinal:k.z.boolean(),ownerShipId:(0,l.f)("ship").nullable(),ownerName:c.z.string().nullable()})),f.z.object({shipId:(0,l.f)("ship"),reason:c.z.string().trim().max(200,r).refine(a=>!/[\r\n]/.test(a),r).nullable()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),settingsVersion:g.z.int().min(1),reason:c.z.string().trim().min(1,r).max(200,r).refine(a=>!/[\r\n]/.test(a),r)}),h.z.strictObject({}),a.s(["k",0,q,"M",0,t,"u",0,o,"i",0,s])},817914,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(231838),f=a.i(703729),g=a.i(400606),h=a.i(445233),i=a.i(694796),j=a.i(97011),k=a.i(813660),l=a.i(368374),m=a.i(597487),n=a.i(580511);let o=b.z.string(),p=c.z.object({id:(0,k.f)("labelValue"),value:b.z.string()}),q=c.z.object({labelId:(0,k.f)("label"),key:b.z.string(),valueId:(0,k.f)("labelValue"),value:b.z.string()}),r=h.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),s=c.z.object({query:b.z.string().optional(),nameQuery:b.z.string().optional(),name:b.z.string().optional(),status:d.z.array(j.e).optional(),type:d.z.array(b.z.string()).optional(),shipKind:d.z.array(j.v).optional(),crewRequest:d.z.array(m.k).optional(),assignedTo:d.z.array((0,k.f)("ship")).optional(),needsCrew:h.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:d.z.array((0,k.f)("labelValue")).optional(),shipIds:d.z.array((0,k.f)("ship")).optional(),kind:d.z.array(r).optional(),pluginShipIds:d.z.array((0,k.f)("ship")).optional(),state:d.z.array(h.z.enum(l.E)).optional()});c.z.object({filter:s.optional()}).optional(),c.z.object({status:d.z.array(j.e).optional()}).optional(),d.z.array(c.z.object({type:b.z.string(),ships:g.z.int().min(0)}));let t=c.z.object({column:h.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:h.z.enum(["ascending","descending"])}),u=c.z.object({isEmpty:i.z.boolean(),value:b.z.string(),name:b.z.string(),id:(0,k.f)("ship")}),v=b.z.string().max(4096).transform(function(a){try{let b=atob(a.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(b,a=>a.charCodeAt(0))))}catch{return}}).pipe(u);(0,n.G)(v).extend({...s.shape,sort:t.optional()}).optional(),c.z.object({key:o,values:d.z.array(o)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(o)}),c.z.object({values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label")}),c.z.object({key:o,value:o}),c.z.object({labelId:(0,k.f)("label"),valueId:(0,k.f)("labelValue")}),c.z.object({shipId:(0,k.f)("ship"),valueId:(0,k.f)("labelValue")}),c.z.object({});let w=e.z.discriminatedUnion("kind",[c.z.object({kind:f.z.literal("ship"),id:(0,k.f)("ship"),name:b.z.string()}),c.z.object({kind:f.z.literal("installation")})]),x=c.z.object({id:(0,k.f)("label"),key:b.z.string(),values:d.z.array(p),owner:w});d.z.array(x.extend({shipCount:g.z.int().min(0),values:d.z.array(p.extend({shipCount:g.z.int().min(0)}))})),a.s(["b",0,20,"B",0,q])},580511,a=>{var b=a.i(246059),c=a.i(400606),d=a.i(861954),e=a.i(77458);a.s(["G",0,function(a){return b.z.object({cursor:a.optional(),limit:c.z.int().min(1).max(e.f).optional()})},"_",0,function(a,c){return b.z.object({items:d.z.array(a),nextCursor:c.nullable()})}])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0dn-qnqn617m3._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[[376224,a=>{a.s(["f",0,function(a){if(null==a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}])},252466,a=>{a.s(["f",0,function(a){return null==a||a.hasAttribute("disabled")||"true"===a.getAttribute("aria-disabled")}])},139977,a=>{var b=a.i(164831);let c={name:"boxes",size:24,node:[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],139977)},442955,a=>{var b=a.i(164831);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],442955)},590629,a=>{var b=a.i(164831);let c={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],590629)},303894,a=>{var b=a.i(164831);let c={name:"tags",size:24,node:[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],303894)},951675,a=>{var b=a.i(164831);let c={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],951675)}],250005,a=>{a.v(b=>Promise.all(["server/chunks/ssr/packages_ui_dist_atoms_label_12sveegmf9f4d.js","server/chunks/ssr/packages_console_features_labels_organisms_define-label-dialog_tsx_0af83_5v5mp_g._.js"].map(b=>a.l(b))).then(()=>b(359390)))},614091,a=>{a.v(b=>Promise.all(["server/chunks/ssr/packages_console_features_labels_organisms_delete-label-dialog_tsx_03_5he27txitx._.js","server/chunks/ssr/packages_ui_dist_atoms_alert-dialog_1_t35hw2b9iew.js"].map(b=>a.l(b))).then(()=>b(879840)))},318294,a=>{a.v(b=>Promise.all(["server/chunks/ssr/packages_ui_dist_atoms_label_12sveegmf9f4d.js","server/chunks/ssr/packages_console_features_labels_organisms_label-values-dialog_tsx_0p1ot21421ivd._.js"].map(b=>a.l(b))).then(()=>b(680133)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_0ra9-8f9kytq_._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[405050,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(120611),g=a.r(1722),h=a.r(738783)},38023,a=>{var b=a.i(572131);let c=(0,b.createContext)(void 0);a.s(["H",0,c,"$",0,function(a){let[,b=""]=a.split("/");switch(b){case"needs-crew":case"squadrons":case"trierarchs":case"usage":case"inbox":case"network":case"settings":return b;case"fleet-health":case"needs-attention":return"health";default:return"overview"}},"y",0,function(){let a=(0,b.useContext)(c);if(void 0===a)throw Error("useConsoleFrame runs inside the signed-in route layout, which provides it");return a}])},633308,853272,a=>{function b(a){if("refused"===a.kind)throw Error(a.message);return a.data}async function c(a,c){let d;try{d=await a()}catch{throw Error(c)}return b("refused"===d.kind&&""===d.message.trim()?{kind:"refused",message:c}:d)}a.s(["x",0,c,"h",0,b],853272);let d="The console did not answer: try again in a moment";class e extends Error{data;constructor(a,b){super(a),this.data=b?{code:"UNAUTHORIZED",refusal:"SIGNED_IN_ELSEWHERE"}:{code:"UNAUTHORIZED"}}}async function f(a,c=fetch){var g;let h,i,j=void 0===a.input?"":`?input=${encodeURIComponent(JSON.stringify(a.input))}`;try{let b=await c(`/api/reads/${a.read}${j}`,{cache:"no-store"});i=b.status,h=await b.json()}catch{throw Error(d)}if(!("object"==typeof(g=h)&&null!==g&&"kind"in g&&("answered"===g.kind||"refused"===g.kind)))throw Error(d);if(401===i&&"refused"===h.kind)throw new e(h.message,"refusal"in h&&"SIGNED_IN_ELSEWHERE"===h.refusal);return b(h)}a.s(["f",0,f],633308)},726949,a=>{var b=a.i(442871),c=a.i(726112),d=a.i(370025),e=a.i(433217),f=a.i(937927),g=a.i(110572),h=a.i(633308),i=a.i(328422),j=a.i(853272),k=a.i(405050);let l=(0,k.createServerReference)("
|
|
1
|
+
(()=>{"use strict";module.exports=[405050,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(120611),g=a.r(1722),h=a.r(738783)},38023,a=>{var b=a.i(572131);let c=(0,b.createContext)(void 0);a.s(["H",0,c,"$",0,function(a){let[,b=""]=a.split("/");switch(b){case"needs-crew":case"squadrons":case"trierarchs":case"usage":case"inbox":case"network":case"settings":return b;case"fleet-health":case"needs-attention":return"health";default:return"overview"}},"y",0,function(){let a=(0,b.useContext)(c);if(void 0===a)throw Error("useConsoleFrame runs inside the signed-in route layout, which provides it");return a}])},633308,853272,a=>{function b(a){if("refused"===a.kind)throw Error(a.message);return a.data}async function c(a,c){let d;try{d=await a()}catch{throw Error(c)}return b("refused"===d.kind&&""===d.message.trim()?{kind:"refused",message:c}:d)}a.s(["x",0,c,"h",0,b],853272);let d="The console did not answer: try again in a moment";class e extends Error{data;constructor(a,b){super(a),this.data=b?{code:"UNAUTHORIZED",refusal:"SIGNED_IN_ELSEWHERE"}:{code:"UNAUTHORIZED"}}}async function f(a,c=fetch){var g;let h,i,j=void 0===a.input?"":`?input=${encodeURIComponent(JSON.stringify(a.input))}`;try{let b=await c(`/api/reads/${a.read}${j}`,{cache:"no-store"});i=b.status,h=await b.json()}catch{throw Error(d)}if(!("object"==typeof(g=h)&&null!==g&&"kind"in g&&("answered"===g.kind||"refused"===g.kind)))throw Error(d);if(401===i&&"refused"===h.kind)throw new e(h.message,"refusal"in h&&"SIGNED_IN_ELSEWHERE"===h.refusal);return b(h)}a.s(["f",0,f],633308)},726949,a=>{var b=a.i(442871),c=a.i(726112),d=a.i(370025),e=a.i(433217),f=a.i(937927),g=a.i(110572),h=a.i(633308),i=a.i(328422),j=a.i(853272),k=a.i(405050);let l=(0,k.createServerReference)("404bc479cece148f3e6df26d503a0ca9fbd088f9b0",k.callServer,void 0,k.findSourceMapURL,"answerQuestion");var m=a.i(514499);let n=["inbox"];function o(){let a=(0,m.I)(),b=(0,f.d)();return async()=>{await Promise.all([b.invalidateQueries({queryKey:n}),b.invalidateQueries({queryKey:a.fleet.pathKey()})])}}a.s(["C",0,n,"r",0,function(a){let b=new URLSearchParams;"open"!==a.filter&&b.set("filter",a.filter),void 0!==a.deliveryId&&b.set("message",a.deliveryId);let c=b.toString();return""===c?"/inbox":`/inbox?${c}`},"b",0,function(a){return"done"===a||"all"===a?a:"open"},"X",0,function(){let a=o();return(0,d.f)({mutationFn:async a=>(0,j.h)(await l(a)),onSuccess:a})},"s",0,function(a){let b=(0,c.f)({queryKey:[...n,a],queryFn:async({pageParam:b})=>({...await (0,h.f)({read:"inbox",input:{filter:a,size:b}}),size:b}),initialPageParam:i.q,getNextPageParam:a=>a.hasMore?a.size+i.q:void 0,maxPages:1});return(0,g.n)([b.error]),(0,i.d)(b)},"V",0,function(a){let c=(0,e.f)({queryKey:[...n,"entry",a],queryFn:void 0===a?b.V:()=>(0,h.f)({read:"inbox-entry",input:{deliveryId:a}})});return(0,g.n)([c.error]),c.data??void 0},"c",0,function(){let a=(0,m.I)(),b=o();return(0,d.f)(a.fleet.markDone.mutationOptions({onSuccess:b}))},"P",0,function(){let a=(0,m.I)(),b=o();return(0,d.f)(a.fleet.markRead.mutationOptions({onSuccess:b}))},"O",0,function(){let a=(0,m.I)(),b=(0,e.f)(a.fleet.inboxCount.queryOptions());return(0,g.n)([b.error]),b.data?.open},"W",0,function(){let a=(0,m.I)(),b=o();return(0,d.f)(a.fleet.reply.mutationOptions({onSuccess:b}))}],726949)}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0wo7e7auz11u_._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[435784,a=>{var b=a.i(57441);a.s(["z",0,b])},861954,a=>{var b=a.i(57441);a.s(["z",0,b])},231838,703729,616405,a=>{var b=a.i(57441);a.s(["z",0,b],231838),a.s(["z",0,b],703729),a.s(["z",0,b],616405)},445233,a=>{var b=a.i(57441);a.s(["z",0,b])},400606,a=>{var b=a.i(57441);a.s(["z",0,b])},332485,a=>{var b=a.i(57441);a.s(["z",0,b])},90758,338509,a=>{var b=a.i(57441);a.s(["z",0,b],90758),a.s(["z",0,b],338509)},592225,97011,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(694796),f=a.i(332485),g=a.i(435784),h=a.i(445233);let i=h.z.enum(["messages:send","messages:receive","messages:force","messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","scopes:declare","scopes:grant","scopes:define","meetings:open","fleet:keys","fleet:alert"]),j=["messages","fleet","crew","labels","scopes","meetings"],k="[a-z][a-z0-9-]{0,31}";RegExp(`^${k}$`);let l=RegExp(`^${k}:${k}$`),m=b.z.string().regex(l,"A scope is <namespace>:<action>").refine(a=>{var b;return b=a.slice(0,a.indexOf(":")),!j.some(a=>a===b)||i.safeParse(a).success},"No such core scope");h.z.enum(["messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","meetings:open","fleet:alert"]);let n=h.z.enum(["operator","agent","viewer","person","app","plugin"]),o=h.z.enum(["agent","person","app","plugin"]),p=h.z.enum(["DEVICE","CLOUD","SERVER","OTHER"]),q=h.z.enum(["awaitingCrew","crewed","retired"]);h.z.enum(["ship","type","meeting","label"]);let r=h.z.enum(["pending","received","handed","acknowledged","handled","notHandled","undeliverable","dismissed","abandoned"]),s=h.z.enum(["FleetInitialised","ShipCommissioned","OwnerSet","OwnerChanged","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","OperatorPasswordReset","OperatorLoginSet","MessageAccepted","LeasePushed","DeliveryReceived","DeliveryHanded","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryReturned","ShipRetired","DeliveryAbandoned","DeliveryDismissed","ShipRenamed","ShipReported","StatementSet","TurnReported","SignInTicketIssued","FleetLimitsChanged","ViewerSessionStarted","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted","WorktreeClearRequested","WorktreeCleared","WorktreeClearRemoved","NetworkRulesSet","NetworkRulesDeclared","NetworkRulesDraftSaved","NetworkRulesDraftDiscarded","NetworkPluginRegistered","NetworkPluginUnregistered","BuiltInRuleChanged","ScopesDeclared","ScopesChanged","ScopeDefined","ScopeDescribed","ScopeRemoved","PluginConnected","PluginDisconnected","VerifiedFactsSet","VerifiedFactsRemoved","MeetingOpened","ParticipantAdded","MicRequested","MicRequestWithdrawn","MicGiven","MicReleased","MicTaken","MicPatternSet","ParticipantLeft","ParticipantRejoined","ParticipantRevoked","OwnershipTransferred","ModeratorNamed","MeetingEnded","ScheduleCreated","ScheduleCancelled","ScheduledSendRefused","ScheduledSendMissed","SchedulePaused","ScheduleResumed","ScheduleEnded","HistoryPruned","FleetSealingTurnedOn","FleetPayloadsSealed","FleetKeyUnavailable","FleetKeyAvailable","FleetDataKeyCreated","FleetCompanyKeyChanged","FleetRecoveryKeyChanged","FleetKeysRecovered","FeatureFlagTurnedOn","FeatureFlagTurnedOff","AlertRaised","AlertCleared","ExpectationsSet"]);a.s(["$",0,o,"h",0,r,"Q",0,s,"p",0,p,"q",0,m,"v",0,n,"e",0,q],97011);var t=a.i(813660);let u=b.z.string().min(1).max(128).brand();c.z.object({iss:b.z.string(),aud:(0,t.f)("fleet"),sub:u,org:b.z.string().min(1),scope:b.z.string(),group:d.z.array(b.z.string()),person_ship:(0,t.f)("ship").optional(),argo:e.z.boolean().optional(),iat:f.z.number(),exp:f.z.number()}).transform((a,b)=>{let c=a.scope.split(" ").filter(a=>""!==a),e=d.z.array(m).safeParse(c);return e.success?{issuer:a.iss,fleetId:a.aud,accountId:a.sub,organisationId:a.org,scopes:e.data,groupValues:a.group,personShipId:a.person_ship??null,isArgoAllowed:a.argo??!1,issuedAt:new Date(1e3*a.iat),endsAt:new Date(1e3*a.exp)}:(b.addIssue({code:"custom",message:"scope holds a malformed or unknown scope",path:["scope"]}),g.z.NEVER)}),a.s(["f",0,u],592225)},597487,a=>{var b=a.i(90758),c=a.i(998868),d=a.i(338509),e=a.i(445233),f=a.i(246059),g=a.i(400606),h=a.i(472142),i=a.i(689812),j=a.i(861954),k=a.i(694796),l=a.i(813660);new TextEncoder;let m=b.z.record(c.z.string(),d.z.json()),n=["crewing","running","restarting","crashed","releasing"],o=e.z.enum(n),p=["none","needsCrew","crewedByHand",...n],q=e.z.enum(p),r=`A reason is one line of at most ${String(200)} characters`;f.z.object({shipId:(0,l.f)("ship"),settings:m}),f.z.object({settingsVersion:g.z.int().min(1)}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({});let s=f.z.object({settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),assignedTo:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),status:o.nullable(),reason:c.z.string().nullable(),crewedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),attempt:g.z.int().min(0),startedAt:i.z.iso.datetime().nullable(),givenBack:j.z.array(f.z.object({trierarch:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}),settingsVersion:g.z.int().min(1),reason:c.z.string(),givenBackAt:i.z.iso.datetime()}))}),t=s.extend({settings:m});f.z.object({shipId:(0,l.f)("ship"),trierarchShipId:(0,l.f)("ship")}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),status:o,attempt:g.z.int().min(0).optional(),startedAt:i.z.iso.datetime().nullable().optional()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({}),j.z.array(f.z.object({shipId:(0,l.f)("ship"),settings:m,settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),status:o.nullable(),isFinal:k.z.boolean(),ownerShipId:(0,l.f)("ship").nullable(),ownerName:c.z.string().nullable()})),f.z.object({shipId:(0,l.f)("ship"),reason:c.z.string().trim().max(200,r).refine(a=>!/[\r\n]/.test(a),r).nullable()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),settingsVersion:g.z.int().min(1),reason:c.z.string().trim().min(1,r).max(200,r).refine(a=>!/[\r\n]/.test(a),r)}),h.z.strictObject({}),a.s(["k",0,q,"M",0,t,"u",0,o,"i",0,s])},817914,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(231838),f=a.i(703729),g=a.i(400606),h=a.i(445233),i=a.i(694796),j=a.i(97011),k=a.i(813660),l=a.i(368374),m=a.i(597487),n=a.i(580511);let o=b.z.string(),p=c.z.object({id:(0,k.f)("labelValue"),value:b.z.string()}),q=c.z.object({labelId:(0,k.f)("label"),key:b.z.string(),valueId:(0,k.f)("labelValue"),value:b.z.string()}),r=h.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),s=c.z.object({query:b.z.string().optional(),nameQuery:b.z.string().optional(),name:b.z.string().optional(),status:d.z.array(j.e).optional(),type:d.z.array(b.z.string()).optional(),shipKind:d.z.array(j.v).optional(),crewRequest:d.z.array(m.k).optional(),assignedTo:d.z.array((0,k.f)("ship")).optional(),needsCrew:h.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:d.z.array((0,k.f)("labelValue")).optional(),shipIds:d.z.array((0,k.f)("ship")).optional(),kind:d.z.array(r).optional(),pluginShipIds:d.z.array((0,k.f)("ship")).optional(),state:d.z.array(h.z.enum(l.E)).optional()});c.z.object({filter:s.optional()}).optional(),c.z.object({status:d.z.array(j.e).optional()}).optional(),d.z.array(c.z.object({type:b.z.string(),ships:g.z.int().min(0)}));let t=c.z.object({column:h.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:h.z.enum(["ascending","descending"])}),u=c.z.object({isEmpty:i.z.boolean(),value:b.z.string(),name:b.z.string(),id:(0,k.f)("ship")}),v=b.z.string().max(4096).transform(function(a){try{let b=atob(a.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(b,a=>a.charCodeAt(0))))}catch{return}}).pipe(u);(0,n.G)(v).extend({...s.shape,sort:t.optional()}).optional(),c.z.object({key:o,values:d.z.array(o)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(o)}),c.z.object({values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label")}),c.z.object({key:o,value:o}),c.z.object({labelId:(0,k.f)("label"),valueId:(0,k.f)("labelValue")}),c.z.object({shipId:(0,k.f)("ship"),valueId:(0,k.f)("labelValue")}),c.z.object({});let w=e.z.discriminatedUnion("kind",[c.z.object({kind:f.z.literal("ship"),id:(0,k.f)("ship"),name:b.z.string()}),c.z.object({kind:f.z.literal("installation")})]),x=c.z.object({id:(0,k.f)("label"),key:b.z.string(),values:d.z.array(p),owner:w});d.z.array(x.extend({shipCount:g.z.int().min(0),values:d.z.array(p.extend({shipCount:g.z.int().min(0)}))})),a.s(["b",0,20,"B",0,q])},580511,a=>{var b=a.i(246059),c=a.i(400606),d=a.i(861954),e=a.i(77458);a.s(["G",0,function(a){return b.z.object({cursor:a.optional(),limit:c.z.int().min(1).max(e.f).optional()})},"_",0,function(a,c){return b.z.object({items:d.z.array(a),nextCursor:c.nullable()})}])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[435784,a=>{var b=a.i(57441);a.s(["z",0,b])},861954,a=>{var b=a.i(57441);a.s(["z",0,b])},231838,703729,616405,a=>{var b=a.i(57441);a.s(["z",0,b],231838),a.s(["z",0,b],703729),a.s(["z",0,b],616405)},445233,a=>{var b=a.i(57441);a.s(["z",0,b])},400606,a=>{var b=a.i(57441);a.s(["z",0,b])},332485,a=>{var b=a.i(57441);a.s(["z",0,b])},90758,338509,a=>{var b=a.i(57441);a.s(["z",0,b],90758),a.s(["z",0,b],338509)},592225,97011,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(694796),f=a.i(332485),g=a.i(435784),h=a.i(445233);let i=h.z.enum(["messages:send","messages:receive","messages:force","messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","scopes:declare","scopes:grant","scopes:define","meetings:open","fleet:keys","fleet:alert"]),j=["messages","fleet","crew","labels","scopes","meetings"],k="[a-z][a-z0-9-]{0,31}";RegExp(`^${k}$`);let l=RegExp(`^${k}:${k}$`),m=b.z.string().regex(l,"A scope is <namespace>:<action>").refine(a=>{var b;return b=a.slice(0,a.indexOf(":")),!j.some(a=>a===b)||i.safeParse(a).success},"No such core scope");h.z.enum(["messages:resend","fleet:read","fleet:commission","fleet:manage","crew:assign","crew:run","labels:define","labels:assign","fleet:network","fleet:on-behalf","fleet:person","fleet:owner","fleet:explain","fleet:connect","labels:any","fleet:verify","meetings:open","fleet:alert"]);let n=h.z.enum(["operator","agent","viewer","person","app","plugin"]),o=h.z.enum(["agent","person","app","plugin"]),p=h.z.enum(["DEVICE","CLOUD","SERVER","OTHER"]),q=h.z.enum(["awaitingCrew","crewed","retired"]);h.z.enum(["ship","type","meeting","label"]);let r=h.z.enum(["pending","received","handed","acknowledged","handled","notHandled","undeliverable","dismissed","abandoned"]),s=h.z.enum(["FleetInitialised","ShipCommissioned","OwnerSet","OwnerChanged","ShipClaimed","LeaseRevoked","CredentialRevoked","StartingPromptIssued","OperatorPasswordReset","OperatorLoginSet","MessageAccepted","LeasePushed","DeliveryReceived","DeliveryHanded","DeliveryAcknowledged","DeliveryHandled","DeliveryNotHandled","DeliveryOverdue","DeliveryUndeliverable","DeliveryReturned","ShipRetired","DeliveryAbandoned","DeliveryDismissed","ShipRenamed","ShipReported","StatementSet","TurnReported","SignInTicketIssued","FleetLimitsChanged","ViewerSessionStarted","CrewRequested","CrewRequestRemoved","CrewAssigned","CrewStatusChanged","CrewRequestExplained","CrewRequestGivenBack","LabelDefined","LabelValuesChanged","LabelRetired","LabelAssigned","LabelUnassigned","LabelDeleted","WorktreeClearRequested","WorktreeCleared","WorktreeClearRemoved","NetworkRulesSet","NetworkRulesDeclared","NetworkRulesDraftSaved","NetworkRulesDraftDiscarded","NetworkPluginRegistered","NetworkPluginUnregistered","BuiltInRuleChanged","ScopesDeclared","ScopesChanged","ScopeDefined","ScopeDescribed","ScopeRemoved","PluginConnected","PluginDisconnected","VerifiedFactsSet","VerifiedFactsRemoved","MeetingOpened","ParticipantAdded","MicRequested","MicRequestWithdrawn","MicGiven","MicReleased","MicTaken","MicPatternSet","ParticipantLeft","ParticipantRejoined","ParticipantRevoked","OwnershipTransferred","ModeratorNamed","MeetingEnded","ScheduleCreated","ScheduleCancelled","ScheduledSendRefused","ScheduledSendMissed","SchedulePaused","ScheduleResumed","ScheduleEnded","HistoryPruned","FleetSealingTurnedOn","FleetPayloadsSealed","FleetKeyUnavailable","FleetKeyAvailable","FleetDataKeyCreated","FleetCompanyKeyChanged","FleetRecoveryKeyChanged","FleetKeysRecovered","FeatureFlagTurnedOn","FeatureFlagTurnedOff","AlertRaised","AlertCleared","ExpectationsSet"]);a.s(["$",0,o,"h",0,r,"Q",0,s,"p",0,p,"q",0,m,"v",0,n,"e",0,q],97011);var t=a.i(813660);let u=b.z.string().min(1).max(128).brand();c.z.object({iss:b.z.string(),aud:(0,t.f)("fleet"),sub:u,org:b.z.string().min(1),scope:b.z.string(),group:d.z.array(b.z.string()),person_ship:(0,t.f)("ship").optional(),argo:e.z.boolean().optional(),iat:f.z.number(),exp:f.z.number()}).transform((a,b)=>{let c=a.scope.split(" ").filter(a=>""!==a),e=d.z.array(m).safeParse(c);return e.success?{issuer:a.iss,fleetId:a.aud,accountId:a.sub,organisationId:a.org,scopes:e.data,groupValues:a.group,personShipId:a.person_ship??null,isArgoAllowed:a.argo??!1,issuedAt:new Date(1e3*a.iat),endsAt:new Date(1e3*a.exp)}:(b.addIssue({code:"custom",message:"scope holds a malformed or unknown scope",path:["scope"]}),g.z.NEVER)}),a.s(["f",0,u],592225)},597487,a=>{var b=a.i(90758),c=a.i(998868),d=a.i(338509),e=a.i(445233),f=a.i(246059),g=a.i(400606),h=a.i(472142),i=a.i(689812),j=a.i(861954),k=a.i(694796),l=a.i(813660);new TextEncoder;let m=b.z.record(c.z.string(),d.z.json()),n=["crewing","running","restarting","crashed","releasing"],o=e.z.enum(n),p=["none","needsCrew","crewedByHand",...n],q=e.z.enum(p),r=`A reason is one line of at most ${String(200)} characters`;f.z.object({shipId:(0,l.f)("ship"),settings:m}),f.z.object({settingsVersion:g.z.int().min(1)}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({});let s=f.z.object({settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),assignedTo:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),requestedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),status:o.nullable(),reason:c.z.string().nullable(),crewedBy:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}).nullable(),attempt:g.z.int().min(0),startedAt:i.z.iso.datetime().nullable(),givenBack:j.z.array(f.z.object({trierarch:f.z.object({id:(0,l.f)("ship"),name:c.z.string()}),settingsVersion:g.z.int().min(1),reason:c.z.string(),givenBackAt:i.z.iso.datetime()}))}),t=s.extend({settings:m});f.z.object({shipId:(0,l.f)("ship"),trierarchShipId:(0,l.f)("ship")}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),status:o,attempt:g.z.int().min(0).optional(),startedAt:i.z.iso.datetime().nullable().optional()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship")}),h.z.strictObject({}),j.z.array(f.z.object({shipId:(0,l.f)("ship"),settings:m,settingsVersion:g.z.int().min(1),requestedAt:i.z.iso.datetime(),status:o.nullable(),isFinal:k.z.boolean(),ownerShipId:(0,l.f)("ship").nullable(),ownerName:c.z.string().nullable()})),f.z.object({shipId:(0,l.f)("ship"),reason:c.z.string().trim().max(200,r).refine(a=>!/[\r\n]/.test(a),r).nullable()}),h.z.strictObject({}),f.z.object({shipId:(0,l.f)("ship"),settingsVersion:g.z.int().min(1),reason:c.z.string().trim().min(1,r).max(200,r).refine(a=>!/[\r\n]/.test(a),r)}),h.z.strictObject({}),a.s(["k",0,q,"M",0,t,"u",0,o,"i",0,s])},817914,a=>{var b=a.i(998868),c=a.i(246059),d=a.i(861954),e=a.i(231838),f=a.i(703729),g=a.i(400606),h=a.i(445233),i=a.i(694796),j=a.i(97011),k=a.i(813660),l=a.i(368374),m=a.i(597487),n=a.i(580511);let o=b.z.string(),p=c.z.object({id:(0,k.f)("labelValue"),value:b.z.string()}),q=c.z.object({labelId:(0,k.f)("label"),key:b.z.string(),valueId:(0,k.f)("labelValue"),value:b.z.string()}),r=h.z.enum(["console","claudeCode","codex","trierarch","plugin","other"]),s=c.z.object({query:b.z.string().optional(),nameQuery:b.z.string().optional(),name:b.z.string().optional(),status:d.z.array(j.e).optional(),type:d.z.array(b.z.string()).optional(),shipKind:d.z.array(j.v).optional(),crewRequest:d.z.array(m.k).optional(),assignedTo:d.z.array((0,k.f)("ship")).optional(),needsCrew:h.z.enum(["withTrierarchs","withoutTrierarchs"]).optional(),valueIds:d.z.array((0,k.f)("labelValue")).optional(),shipIds:d.z.array((0,k.f)("ship")).optional(),kind:d.z.array(r).optional(),pluginShipIds:d.z.array((0,k.f)("ship")).optional(),state:d.z.array(h.z.enum(l.E)).optional()});c.z.object({filter:s.optional()}).optional(),c.z.object({status:d.z.array(j.e).optional()}).optional(),d.z.array(c.z.object({type:b.z.string(),ships:g.z.int().min(0)}));let t=c.z.object({column:h.z.enum(["ship","status","report","runsOn","seen","requested"]),direction:h.z.enum(["ascending","descending"])}),u=c.z.object({isEmpty:i.z.boolean(),value:b.z.string(),name:b.z.string(),id:(0,k.f)("ship")}),v=b.z.string().max(4096).transform(function(a){try{let b=atob(a.replaceAll("-","+").replaceAll("_","/"));return JSON.parse(new TextDecoder().decode(Uint8Array.from(b,a=>a.charCodeAt(0))))}catch{return}}).pipe(u);(0,n.G)(v).extend({...s.shape,sort:t.optional()}).optional(),c.z.object({key:o,values:d.z.array(o)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label"),values:d.z.array(o)}),c.z.object({values:d.z.array(p)}),c.z.object({labelId:(0,k.f)("label")}),c.z.object({key:o,value:o}),c.z.object({labelId:(0,k.f)("label"),valueId:(0,k.f)("labelValue")}),c.z.object({shipId:(0,k.f)("ship"),valueId:(0,k.f)("labelValue")}),c.z.object({});let w=e.z.discriminatedUnion("kind",[c.z.object({kind:f.z.literal("ship"),id:(0,k.f)("ship"),name:b.z.string()}),c.z.object({kind:f.z.literal("installation")})]),x=c.z.object({id:(0,k.f)("label"),key:b.z.string(),values:d.z.array(p),owner:w});d.z.array(x.extend({shipCount:g.z.int().min(0),values:d.z.array(p.extend({shipCount:g.z.int().min(0)}))})),a.s(["b",0,20,"B",0,q])},580511,a=>{var b=a.i(246059),c=a.i(400606),d=a.i(861954),e=a.i(77458);a.s(["G",0,function(a){return b.z.object({cursor:a.optional(),limit:c.z.int().min(1).max(e.f).optional()})},"_",0,function(a,c){return b.z.object({items:d.z.array(a),nextCursor:c.nullable()})}])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0x4w6nrkdsia9._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[[442955,a=>{var b=a.i(164831);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],442955)},590629,a=>{var b=a.i(164831);let c={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],590629)},951675,a=>{var b=a.i(164831);let c={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],951675)},735559,a=>{var b=a.i(187924),c=a.i(782247),d=a.i(363089);a.s(["f",0,function({title:a,parents:e,header:f,children:g,sheet:h,live:i,switcher:j,onCompose:k,onSearch:l,banner:m}){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(c.f,{breadcrumb:a,parents:e,live:i,switcher:j,onCompose:k,onSearch:l}),m,(0,b.jsx)(d.f,{title:a,live:i,back:e[e.length-1]??e[0]}),(0,b.jsxs)("main",{className:"flex grow flex-col gap-4 px-6 py-5 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[f,g]}),h]})}])}],678544,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0ysl_console_features_scopes_ui_organisms_remove-scope-dialog_tsx_1sr62xt495_ak._.js","server/chunks/ssr/packages_ui_dist_atoms_alert-dialog_1_t35hw2b9iew.js"].map(b=>a.l(b))).then(()=>b(63035)))},494149,a=>{a.v(b=>Promise.all(["server/chunks/ssr/packages_ui_dist_atoms_label_12sveegmf9f4d.js","server/chunks/ssr/packages_console_features_scopes_ui_organisms_scope-dialog_tsx_0tcpxdok6jf_e._.js","server/chunks/ssr/node_modules_@base-ui_react_internals_1h5t1qc_mq4bn._.js","server/chunks/ssr/packages_ui_dist_atoms_input_1_06uwyewnocf.js"].map(b=>a.l(b))).then(()=>b(651353)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=_10dr7x5k5jwsg._.js.map
|