failproofai 1.0.13 → 1.0.15
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/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +44 -44
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js +2 -3
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +3 -4
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +6 -6
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/audit/invite/route.js +3 -4
- package/.next/standalone/.next/server/app/api/audit/invite/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/audit/run/route.js +22 -23
- package/.next/standalone/.next/server/app/api/audit/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/audit/status/route.js +2 -3
- package/.next/standalone/.next/server/app/api/audit/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/login-request/route.js +4 -5
- package/.next/standalone/.next/server/app/api/auth/login-request/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/login-verify/route.js +4 -5
- package/.next/standalone/.next/server/app/api/auth/login-verify/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/logout/route.js +4 -5
- package/.next/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/status/route.js +3 -4
- package/.next/standalone/.next/server/app/api/auth/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js +2 -3
- package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/audit/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/audit/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/audit/page.js +5 -6
- package/.next/standalone/.next/server/app/audit/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +6 -6
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/page.js +4 -5
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/policies/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +14 -14
- package/.next/standalone/.next/server/app/policies/page.js +4 -5
- package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page.js +20 -21
- package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js +8 -9
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/projects/page.js +6 -7
- package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page/build-manifest.json +6 -6
- package/.next/standalone/.next/server/app/settings/page/server-reference-manifest.json +8 -8
- package/.next/standalone/.next/server/app/settings/page.js +3 -4
- package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1a2d0ewycsp6k._.js → [externals]__0h0p9dmv_e7r7._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1am_1tz0o0aqz._.js → [externals]__1_407huhlmj1m._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__031qp1lkow_kc._.js → [externals]__1rlxpymm37wel._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__03s1za0hn71yp._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__048f1wnr8pysf._.js +63 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__07a0sa6fuw5_b._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l-oi4gdtmlo5._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0spt0kv8azrpl._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0yvyp5b7jmlc4._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__145vo_drnuvas._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1lh8c0mmhdrbj._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1oclamblhzhrf._.js +7 -7
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1qjnp3fa0e5g3._.js +3 -0
- package/.next/standalone/.next/server/chunks/[turbopack]_runtime.js +7 -9
- package/.next/standalone/.next/server/chunks/_02sa8fcu9_9xo._.js +1 -1
- package/.next/standalone/.next/server/chunks/_09dz7xva4ce_2._.js +18 -18
- package/.next/standalone/.next/server/chunks/_0hf5q4xzyg40j._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0tovk6q0miud6._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0trp3ycqv17cl._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1-2owkp-1_987._.js +1 -1
- package/.next/standalone/.next/server/chunks/_13ltj8a9z92o8._.js +1 -1
- package/.next/standalone/.next/server/chunks/_15k37au70vjvg._.js +1 -1
- package/.next/standalone/.next/server/chunks/_18rfu4__wjhwb._.js +1 -1
- package/.next/standalone/.next/server/chunks/_19011-u44143j._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1ek68lnh2daur._.js +2 -2
- package/.next/standalone/.next/server/chunks/_1fz8m31sndkcu._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1ogwigfb0163w._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1vslkoe35wok6._.js +1 -1
- package/.next/standalone/.next/server/chunks/lib_11qmqmccehybz._.js +1 -1
- package/.next/standalone/.next/server/chunks/lib_1sezqnatvr8j-._.js +1 -1
- package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_01r25oigsgz07._.js +1 -2
- package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_09z9-p77cu37y._.js +1 -2
- package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_1nxcc4vkpxxu7._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_hooks_0_em82s16zfym._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[externals]__0ilfh9mfnzsth._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[externals]__0ohnuzsaozaca._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__097i34ct1o88x._.js → [externals]__12qr51qgrrt6o._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__021vebe-4il8s._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__05-glpesefmmi._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__08ch3staq3ejw._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bigvy9xmv2ka._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0evgy902m9h5e._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ezoipo-r7_5k._.js +14 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h1jw32uvrhh0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h86bl2qf0k_o._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pia5h3p8re4c._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__10v5cyxvj64j4._.js → [root-of-the-server]__0tfnj3v_mp6rv._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-9s1nsw-5q8o._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-ey9fgesfbc0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15bi9em2xe0x2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15usvs-ms-0hf._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__16gb3_92zvk5x._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1avi2kypusyb_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__20dt376-socef._.js → [root-of-the-server]__1e00l_e_8r_-g._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mc9-zlnh656_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ob2uzmms1adf._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1r7drlqli-ado._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ed1zh4scn7-k._.js → [root-of-the-server]__1tq3x9i_3_860._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1utel1l1-u64v._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1vofkb2oq7p7e._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1vxwetblyf8vp._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__2158020r_amn9._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[turbopack]_runtime.js +7 -9
- package/.next/standalone/.next/server/chunks/ssr/_0-f9uotv7v2n9._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_00e4_rvim31u_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0bseae9u7g98r._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0eoura3_9gjb-._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0ge1hz9485xpp._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0kqw2_f1ywmpo._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0mouhaflye1ro._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0ouu886szh6yj._.js +10 -10
- package/.next/standalone/.next/server/chunks/ssr/_0pedwblqdoh58._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0tfqha481f033._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_1_ozgifqv1ssi._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1a516zcgtqius._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1ddpc5gj57uuf._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1djqs9i27e4kg._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1ew6ra24vt-ij._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1or8gixmrpv5i._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1s8zk-upxzp00._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1u9tpla2o6utw._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1v4_ul3sj2lq_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1y3xzro8ca8t6._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_20hn4gn87nsjc._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_next-internal_server_app_policies_page_actions_1sp2-yo5_vm5f.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/app_087bt9wus25zs._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_0trz6ik19xz5_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_1fvisnppn1unv._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_209u41o446my6._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_actions_get-scheduled-audit_ts_0ei9snixb5fd-._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_audit_0hku_y73ischw._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_audit__components_audit-dashboard_tsx_0p9ud47q0xq5w._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_1kp6l3x33jqb6._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_19dqvpcz0uxur._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_settings_02tf1h47jmhhd._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/lib_16jvhmthj_k3a._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_05vgn62--7c5e._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0dad4au22rq0p._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0ptcnmeaxvd_a._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_html-to-image_es_index_1cmkmhnty0-x7.js → node_modules_html-to-image_es_index_0e3yg5gbcfsai.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_0bz67659f5z-3._.js +4 -4
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0ocrceo0c9psx._.js +4 -4
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1alv566ojmz5j._.js +4 -4
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1et9oq9q9-y3v._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_shared_lib_0ftnv26hg1lry._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_0dagmbznysrc2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_11bnuznb72p7z._.js +1 -2
- package/.next/standalone/.next/server/chunks/ssr/package_json_[json]_cjs_013tntikdft59._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_0-q0ummbuhlg5._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_06kzv9ddabn3_._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_0agdmptetetdt._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_0g194syq7r7ql._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_0mdwgjisv4fub._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_1cv9_c4l1tzrm._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_1kx9e0dx_1-8o._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +44 -44
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/preview-props.json +3 -3
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +23 -23
- package/.next/standalone/.next/static/chunks/05g1pu2r8o5q3.js +1 -0
- package/.next/standalone/.next/static/chunks/{0mm-e5t9denbu.js → 098vx6twrn-vk.js} +1 -1
- package/.next/standalone/.next/static/chunks/0oxlfb02aqo3e.js +1 -0
- package/.next/standalone/.next/static/chunks/0p14j2e6dnj1x.js +1 -0
- package/.next/standalone/.next/static/chunks/0tiuj32d-qcy3.js +1 -0
- package/.next/standalone/.next/static/chunks/0ztuix-ip2oiv.js +1 -0
- package/.next/standalone/.next/static/chunks/12ys9uaq6i1h2.js +6 -0
- package/.next/standalone/.next/static/chunks/1dudxmlwx2n3q.js +1 -0
- package/.next/standalone/.next/static/chunks/1i9zuw01f0ogt.js +22 -0
- package/.next/standalone/.next/static/chunks/1osrmi14e2jub.js +1 -0
- package/.next/standalone/.next/static/chunks/2hqfk_jgesiw2.js +1 -0
- package/.next/standalone/.next/static/chunks/2k6xp6kdy7lmd.js +1 -0
- package/.next/standalone/.next/static/chunks/2o8j51ujh1ox4.js +1 -0
- package/.next/standalone/.next/static/chunks/2zwsbp8xyfv__.js +1 -0
- package/.next/standalone/.next/static/chunks/34rjkinfk6d4p.js +31 -0
- package/.next/standalone/.next/static/chunks/38lnk75xvqiug.js +1 -0
- package/.next/standalone/.next/static/chunks/{1-0se0uwja_ny.js → 3d6_vjbvr0c2n.js} +1 -1
- package/.next/standalone/.next/static/chunks/3i_9ugyh1q1o1.js +1 -0
- package/.next/standalone/.next/static/chunks/3o30fiw7llng3.js +1 -0
- package/.next/standalone/.next/static/chunks/41ujrab732qi3.css +2 -0
- package/.next/standalone/.next/static/chunks/436g_rqa42mr7.js +1 -0
- package/.next/standalone/.next/static/chunks/436nql0jk__xy.js +1 -0
- package/.next/standalone/.next/static/chunks/{turbopack-3-ry682tkyiqk.js → turbopack-2u1d16houkiyo.js} +1 -1
- package/.next/standalone/SECURITY.md +19 -4
- package/.next/standalone/assets/logos/failproof-dark.png +0 -0
- package/.next/standalone/assets/logos/failproof-light.png +0 -0
- package/.next/standalone/fp-cloud-cli/CHANGELOG.md +34 -3
- package/.next/standalone/fp-cloud-cli/README.md +14 -7
- package/.next/standalone/fp-cloud-cli/fp_cli/_version.py +1 -1
- package/.next/standalone/fp-cloud-cli/fp_cli/app.py +2 -8
- package/.next/standalone/fp-cloud-cli/fp_cli/auth.py +325 -3
- package/.next/standalone/fp-cloud-cli/fp_cli/cloud_output.py +3 -3
- package/.next/standalone/fp-cloud-cli/fp_cli/commands/account_cmds.py +1 -11
- package/.next/standalone/fp-cloud-cli/fp_cli/commands/auth_cmds.py +218 -51
- package/.next/standalone/fp-cloud-cli/fp_cli/commands/orgs_cmds.py +1 -1
- package/.next/standalone/fp-cloud-cli/fp_cli/output.py +112 -135
- package/.next/standalone/fp-cloud-cli/fp_cli/permissions.py +10 -1
- package/.next/standalone/fp-cloud-cli/fp_cli/select.py +85 -6
- package/.next/standalone/fp-cloud-cli/fp_cli/theme.py +21 -21
- package/.next/standalone/fp-cloud-cli/pyproject.toml +1 -1
- package/.next/standalone/fp-cloud-cli/skill/SKILL.md +4 -4
- package/.next/standalone/fp-cloud-cli/skill/references/commands.md +4 -4
- package/.next/standalone/fp-cloud-cli/tests/fake_cloud_smoke.py +2 -2
- package/.next/standalone/fp-cloud-cli/tests/test_browser_login.py +943 -0
- package/.next/standalone/fp-cloud-cli/tests/test_cloud_account.py +0 -2
- package/.next/standalone/fp-cloud-cli/tests/test_cloud_agent.py +4 -8
- package/.next/standalone/fp-cloud-cli/tests/test_cloud_human_views.py +0 -4
- package/.next/standalone/fp-cloud-cli/tests/test_commands.py +3 -3
- package/.next/standalone/fp-cloud-cli/tests/test_dashboards_agent.py +3 -3
- package/.next/standalone/fp-cloud-cli/tests/test_facets.py +1 -1
- package/.next/standalone/fp-cloud-cli/tests/test_keys_queries.py +19 -2
- package/.next/standalone/fp-cloud-cli/tests/test_operator.py +1 -1
- package/.next/standalone/fp-cloud-cli/tests/test_orgs.py +1 -1
- package/.next/standalone/fp-cloud-cli/tests/test_output.py +19 -19
- package/.next/standalone/fp-cloud-cli/tests/test_round4_behaviour.py +3 -2
- package/.next/standalone/fp-cloud-cli/tests/test_screen_language.py +86 -25
- package/.next/standalone/fp-cloud-cli/tests/test_whoami.py +1 -1
- package/.next/standalone/fp-cloud-cli/uv.lock +200 -13
- package/.next/standalone/hermes-plugin/plugin.yaml +1 -1
- package/.next/standalone/node_modules/@next/env/package.json +1 -1
- package/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/.next/standalone/node_modules/next/dist/compiled/fast-jwt/index.js +3 -0
- package/.next/standalone/node_modules/next/dist/compiled/fast-jwt/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +23 -23
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +23 -23
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +1 -1
- package/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +7 -7
- package/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
- package/.next/standalone/node_modules/next/dist/server/api-utils/node/api-resolver.js +8 -5
- package/.next/standalone/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +8 -2
- package/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +52 -14
- package/.next/standalone/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +19 -3
- package/.next/standalone/node_modules/next/dist/server/app-render/turbopack-bootstrap-script.js +50 -0
- package/.next/standalone/node_modules/next/dist/server/base-http/node.js +7 -2
- package/.next/standalone/node_modules/next/dist/server/base-server.js +8 -0
- package/.next/standalone/node_modules/next/dist/server/config.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +59 -10
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +15 -0
- package/.next/standalone/node_modules/next/dist/server/image-optimizer/detect-content-type.js +24 -20
- package/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +3 -0
- package/.next/standalone/node_modules/next/dist/server/lib/router-server.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/lib/trace/tracer.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/next-server.js +10 -2
- package/.next/standalone/node_modules/next/dist/server/render.js +2 -2
- package/.next/standalone/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +1 -2
- package/.next/standalone/node_modules/next/dist/server/send-response.js +12 -0
- package/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +69 -6
- package/.next/standalone/node_modules/next/dist/server/web/adapter.js +5 -1
- package/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/.next/standalone/node_modules/next/package.json +10 -10
- package/.next/standalone/package.json +12 -12
- package/.next/standalone/sdk/python/skill/SKILL.md +5 -0
- package/.next/standalone/sdk/python/uv.lock +79 -47
- package/.next/standalone/sdk/typescript/CHANGELOG.md +48 -5
- package/.next/standalone/sdk/typescript/integration/fixtures/langchain-dup-core/package-lock.json +0 -9
- package/.next/standalone/sdk/typescript/integration/fixtures/langchain-dup-core/package.json +2 -1
- package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.11/package-lock.json +72 -44
- package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.11/package.json +2 -1
- package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.12/package-lock.json +72 -44
- package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.12/package.json +3 -0
- package/.next/standalone/sdk/typescript/integration/fixtures/mastra-0/package-lock.json +18 -332
- package/.next/standalone/sdk/typescript/integration/fixtures/mastra-0/package.json +4 -2
- package/.next/standalone/sdk/typescript/integration/fixtures/mastra-1/package-lock.json +925 -296
- package/.next/standalone/sdk/typescript/integration/fixtures/mastra-1/package.json +3 -8
- package/.next/standalone/sdk/typescript/integration/fixtures/nextjs/package-lock.json +319 -317
- package/.next/standalone/sdk/typescript/integration/fixtures/nextjs/package.json +3 -3
- package/.next/standalone/server.js +1 -1
- package/README.md +174 -83
- package/dist/cli.mjs +23 -13
- package/dist/worker.mjs +1 -1
- package/hermes-plugin/plugin.yaml +1 -1
- package/openclaw-plugin/daemon-client.js +95 -26
- package/openclaw-plugin/hooks.js +4 -1
- package/package.json +12 -12
- package/src/hooks/delivery-health.ts +11 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__038kwryp970nh._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08atcie7jzswm._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0car70pylmvor._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1j6kfp0vzu5rw._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1l0ayum_hqqsw._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1o9rznwc0w7og._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1v1-l-83czzsr._.js +0 -63
- package/.next/standalone/.next/server/chunks/node_modules_@opentelemetry_api_build_esm_index_0oo58a7rymoxh.js +0 -3
- package/.next/standalone/.next/server/chunks/node_modules_@opentelemetry_api_build_esm_index_1jp9ij0_ddtgk.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__075uro8t92s0_._.js +0 -14
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0alpzjn3450sr._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0aup10z2o8zc1._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bioghlkjf7s7._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nhm28v58ty9z._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vse4qi496ol-._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__190xwrr5zrfi3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1guwlpkyurdn9._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jq2bh84rafc7._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1k96jctukf65_._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sj-wn2jp6va5._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_100nvr7rei3us._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_@opentelemetry_api_build_esm_index_0ntwr8lzj6p2i.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +0 -6
- package/.next/standalone/.next/static/chunks/0rucj5pu307i4.js +0 -1
- package/.next/standalone/.next/static/chunks/1024g0jaymm46.js +0 -1
- package/.next/standalone/.next/static/chunks/165ezyyx0j1ft.js +0 -22
- package/.next/standalone/.next/static/chunks/173vw1xs-5m5g.js +0 -1
- package/.next/standalone/.next/static/chunks/20cme7d6wv6md.js +0 -1
- package/.next/standalone/.next/static/chunks/26c4gmdpsthv6.css +0 -2
- package/.next/standalone/.next/static/chunks/2_sj5ssr_m_wm.js +0 -1
- package/.next/standalone/.next/static/chunks/2mz-k_jt_76xt.js +0 -1
- package/.next/standalone/.next/static/chunks/2ojf3r8g4tn7s.js +0 -1
- package/.next/standalone/.next/static/chunks/2tjfp9dirxnku.js +0 -1
- package/.next/standalone/.next/static/chunks/2u1m0f-wnhz44.js +0 -1
- package/.next/standalone/.next/static/chunks/2ytnb83xmjn3u.js +0 -1
- package/.next/standalone/.next/static/chunks/2zyrjasvbmwpq.js +0 -1
- package/.next/standalone/.next/static/chunks/31fan-ze541d1.js +0 -1
- package/.next/standalone/.next/static/chunks/32s3y34p0t2pe.js +0 -1
- package/.next/standalone/.next/static/chunks/36re0fegaocq-.js +0 -1
- package/.next/standalone/.next/static/chunks/3fhk60ouw_ae6.js +0 -1
- package/.next/standalone/.next/static/chunks/3xgxl1s_in776.js +0 -31
- package/.next/standalone/.next/static/chunks/40g_e46c1-j4k.js +0 -6
- package/.next/standalone/.next/static/chunks/44yz8zx53euy1.js +0 -1
- package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +0 -11
- package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/package.json +0 -1
- package/.next/standalone/node_modules/next/dist/lib/semver-noop.js +0 -18
- /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_ssgManifest.js +0 -0
|
@@ -112,6 +112,18 @@ That splits an alert in one of these lockfiles into two cases:
|
|
|
112
112
|
what makes the lockfiles reproducible and an override the only lever. **Never**
|
|
113
113
|
resolve one of these by moving the pinned framework — that deletes the fixture's
|
|
114
114
|
reason to exist and silently drops a supported release from the matrix.
|
|
115
|
+
|
|
116
|
+
When no release fixes the package, or the fix is a major its parent cannot take,
|
|
117
|
+
look one level up before accepting it. An override can move the *parent* to a
|
|
118
|
+
release that no longer needs the package, which takes it out of the tree:
|
|
119
|
+
`html-to-text@10` replaced `deepmerge`, which has no patched release, and `gaxios`
|
|
120
|
+
after 7.1.3 dropped `rimraf`, and with it the `glob` and `minimatch` that only a
|
|
121
|
+
major of each would have fixed. A nested copy whose consumers do not need that
|
|
122
|
+
major can go the same way: `mastra-0` and `langchain-dup-core` override their
|
|
123
|
+
nested zod 3 to their own zod 4, because `@mastra/mcp` and `@mastra/schema-compat`
|
|
124
|
+
call `zod-from-json-schema-v3` only under a zod 3 root, and
|
|
125
|
+
`@langchain/core@0.3.80` imports only `zod/v3` and `zod/v4/core`, which zod 4 also
|
|
126
|
+
ships.
|
|
115
127
|
2. **The advisory is against the pinned framework itself, or against a package whose
|
|
116
128
|
only fix is a major that framework cannot take.** There is no fix that keeps the
|
|
117
129
|
fixture, so record it in the table below rather than pretending it away. Unlike a
|
|
@@ -126,7 +138,10 @@ reach the fix by moving the framework, which is how #838, #931 and #935 happened
|
|
|
126
138
|
entry in [`.github/dependabot.yml`](.github/dependabot.yml)
|
|
127
139
|
(`open-pull-requests-limit: 0`) whose `ignore` ranges hold its framework on its
|
|
128
140
|
line, and zod on 3 where that framework requires it; a fix that stays on the line
|
|
129
|
-
still arrives. A
|
|
141
|
+
still arrives. A range is read only for the package being updated, not for a parent
|
|
142
|
+
moved on its behalf, so a transitive package with an accepted advisory needs a range
|
|
143
|
+
of its own: #955 moved `@mastra/core` to 1.80.0 to remove `@ai-sdk/provider-utils`
|
|
144
|
+
2.x, with `@mastra/*` ignored. A new floor fixture needs its own entry, and
|
|
130
145
|
`__tests__/ci/ts-sdk-fixture-pins.test.ts` fails without one. A Dependabot PR that
|
|
131
146
|
moves a pin anyway fails that same test: close it rather than merge it.
|
|
132
147
|
|
|
@@ -136,15 +151,15 @@ moves a pin anyway fails that same test: close it rather than merge it.
|
|
|
136
151
|
|---|---|---|---|
|
|
137
152
|
| [GHSA-rwvc-j5jr-mgvh](https://github.com/advisories/GHSA-rwvc-j5jr-mgvh) (low, CVSS 3.7) | `ai@4.3.19` | `ai-4`, `mastra-0` | A filetype-whitelist bypass on **file upload**. Fixed in `ai@5.0.52` — the major the `ai-4` fixture exists to stay below, and one `@mastra/core@0.24.9` cannot take either (it requires `ai@^4`). Neither fixture uploads a file or exposes an upload surface; each runs one scripted agent against an in-process model. |
|
|
138
153
|
| [GHSA-866g-f22w-33x8](https://github.com/advisories/GHSA-866g-f22w-33x8) (low, CVSS 4.3) | `@ai-sdk/provider-utils@2.2.8` | `ai-4`, `mastra-0` | Unbounded response-body reads in `createJsonResponseHandler` and its siblings. Fixed in `3.0.28`; `2.2.8` ships *inside* `ai@4.3.19`, which uses the v2 API, so the fix is the same blocked major as the row above. Exploiting it needs a hostile **model-provider HTTP response**; these fixtures never call one. |
|
|
139
|
-
| [GHSA-mrhx-c7xc-m3w5](https://github.com/advisories/GHSA-mrhx-c7xc-m3w5) (high, CVSS 7.5) | `zod@3.25.76` | `ai-4`, `langchain-0.3`, `llamaindex-0.11
|
|
154
|
+
| [GHSA-mrhx-c7xc-m3w5](https://github.com/advisories/GHSA-mrhx-c7xc-m3w5) (high, CVSS 7.5) | `zod@3.25.76` | `ai-4`, `langchain-0.3`, `llamaindex-0.11` | An array schema keeps every failing element's validation issues, uncapped, so one oversized input can exhaust memory. Fixed only in `4.6.6`: no zod 3 release carries the fix, and `3.25.76` is the newest. Each fixture's own zod is held to `^3` by the release it pins — `ai@4.3.19` and its `@ai-sdk/*` packages peer on `^3.23.8`, `@langchain/core@0.3.80` and `@langchain/langgraph@0.4.10` depend on `^3.25.32`, and `@llamaindex/core@0.6.8` and `@llamaindex/workflow@1.1.5` need `^3.23.8`. Exploiting it needs untrusted input validated against one of those schemas; each fixture validates only its own scripted tool arguments. |
|
|
140
155
|
|
|
141
156
|
Every row is bounded by the same facts: these are test fixtures — `"private": true`,
|
|
142
157
|
never published, installed with `--ignore-scripts`, and run only in CI against
|
|
143
158
|
scripted in-process models. Re-check them whenever the supported framework floor
|
|
144
159
|
moves. The first two rows retire once `ai` 4.x has left the matrix, which takes
|
|
145
160
|
`mastra-0` as well as `ai-4`, because `@mastra/core@0.24.9` requires `ai@^4`. The
|
|
146
|
-
zod row retires only once `ai` 4.x, LangChain 0.3
|
|
147
|
-
|
|
161
|
+
zod row retires only once `ai` 4.x, LangChain 0.3 and LlamaIndex 0.11 have all left
|
|
162
|
+
it.
|
|
148
163
|
|
|
149
164
|
## Maintainer setup (one-time)
|
|
150
165
|
|
|
Binary file
|
|
Binary file
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
# Changelog — `fp` CLI
|
|
2
2
|
|
|
3
|
-
## 0.0.
|
|
3
|
+
## 0.0.4b0 — 2026-11-16
|
|
4
4
|
|
|
5
|
-
Open for the next release. `0.0.
|
|
6
|
-
moved the version here automatically; nothing has landed against `0.0.
|
|
5
|
+
Open for the next release. `0.0.3` published on 2026-11-16 and the `bump` job
|
|
6
|
+
moved the version here automatically; nothing has landed against `0.0.4b0` yet.
|
|
7
7
|
Add entries as changes merge — this section becomes the GitHub Release body when
|
|
8
8
|
it ships.
|
|
9
9
|
|
|
10
|
+
## 0.0.3 — 2026-11-16
|
|
11
|
+
|
|
12
|
+
**Stable release.** The `0.0.3b1` line the `bump` job opened after `0.0.3b0` is cut stable
|
|
13
|
+
here rather than published: nothing landed against it, so `0.0.3` is the code `0.0.3b0`
|
|
14
|
+
shipped, now what `pipx install fp-cloud-cli` resolves without `--pre`.
|
|
15
|
+
|
|
16
|
+
The entries below are the entire diff from `0.0.2`, and the `bump` job opens `0.0.4b0`
|
|
17
|
+
after the upload.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `fp login` can sign you in from a browser. On a terminal it starts on a link, to use your browser or SSO: it opens where a browser can (over SSH or with no display it only shows it, and it works from any device), and the terminal finishes on its own once you authorize it. Press Tab for a 6-digit code by email instead, and Tab again to go back. `--email`, `--json` and anything without a terminal keep the code as they always did. If there's no link to offer, as on a dashboard without browser login, it uses the code and never creates a key. Either way you get the same session, with the same lifetime. (#981)
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Back to the earlier look: rounded panels, the purple `◆ fp` mark, lowercase panel titles and red error boxes. Ids stay whole, wrapping instead of being cut, and screens added since keep their plain tables. `--json`, exit codes and messages are unchanged. (#981)
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
- Accept `typer` up to `0.29.x` (`typer>=0.13,<0.30`, was `<0.28`). (#1000)
|
|
30
|
+
|
|
31
|
+
## 0.0.3b0 — 2026-10-25
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- `fp login` can sign you in from a browser. On a terminal it starts on a link, to use your browser or SSO: it opens where a browser can (over SSH or with no display it only shows it, and it works from any device), and the terminal finishes on its own once you authorize it. Press Tab for a 6-digit code by email instead, and Tab again to go back. `--email`, `--json` and anything without a terminal keep the code as they always did. If there's no link to offer, as on a dashboard without browser login, it uses the code and never creates a key. Either way you get the same session, with the same lifetime. (#981)
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Back to the earlier look: rounded panels, the purple `◆ fp` mark, lowercase panel titles and red error boxes. Ids stay whole, wrapping instead of being cut, and screens added since keep their plain tables. `--json`, exit codes and messages are unchanged. (#981)
|
|
40
|
+
|
|
10
41
|
## 0.0.2 — 2026-10-25
|
|
11
42
|
|
|
12
43
|
**Stable release.** The `0.0.2b0` line the `bump` job opened after `0.0.1` is cut stable
|
|
@@ -34,17 +34,24 @@ uv run fp --help
|
|
|
34
34
|
|
|
35
35
|
## Authentication
|
|
36
36
|
|
|
37
|
-
The CLI talks to your dashboard (set `--base-url` or `FP_DASHBOARD_URL`) and
|
|
38
|
-
an emailed one-time code:
|
|
37
|
+
The CLI talks to your dashboard (set `--base-url` or `FP_DASHBOARD_URL`) and signs you in
|
|
38
|
+
from a browser or with an emailed one-time code:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
fp login
|
|
42
|
-
#
|
|
41
|
+
fp login # opens a link to authorize; press tab for a code by email instead
|
|
42
|
+
fp login --email you@example.com # straight to the code; also what scripts and pipes use
|
|
43
|
+
# either way the session is stored in
|
|
43
44
|
# ~/.failproofai/fpcli/cli-auth.json (mode 0600)
|
|
44
45
|
fp whoami
|
|
45
46
|
fp logout
|
|
46
47
|
```
|
|
47
48
|
|
|
49
|
+
`fp` starts on a link, to sign in with your browser or SSO, and opens it (over SSH or with no
|
|
50
|
+
display it only shows it, and it works from any device). Authorize it and the terminal finishes
|
|
51
|
+
on its own. That terminal gets your access in all your orgs until the session expires, so only
|
|
52
|
+
authorize a link you just asked for. Press **tab** for a code by email instead, and tab again to
|
|
53
|
+
go back. If there's no link to offer, as on a dashboard without browser login, it uses the code.
|
|
54
|
+
|
|
48
55
|
Sessions expire (24h by default); re-run `fp login` when prompted.
|
|
49
56
|
|
|
50
57
|
## Working across orgs (multi-tenant)
|
|
@@ -306,7 +313,7 @@ fp usage windows
|
|
|
306
313
|
fp plan # session
|
|
307
314
|
fp plan claim <offer> # session
|
|
308
315
|
fp settings context-windows list|set <model> <tokens>|delete <model>
|
|
309
|
-
fp otel status
|
|
316
|
+
fp otel status
|
|
310
317
|
fp slack status|disconnect # session
|
|
311
318
|
```
|
|
312
319
|
|
|
@@ -322,8 +329,8 @@ Unknown-route 404s exit 6 with “not available on this FailproofAI Cloud yet”
|
|
|
322
329
|
Missing-record 404s also exit 6 but report that the record was not found.
|
|
323
330
|
`plan` and `plan claim` require a signed-in person and deny API-key mode before
|
|
324
331
|
HTTP with the standard `fp login` message.
|
|
325
|
-
Human screens use
|
|
326
|
-
existing JSON shapes are unchanged.
|
|
332
|
+
Human screens use rounded panels, the purple `◆ fp` mark and full ids, which wrap
|
|
333
|
+
rather than being cut; existing JSON shapes are unchanged.
|
|
327
334
|
|
|
328
335
|
Human commands show summaries, tables and wrapped text rather than response
|
|
329
336
|
objects. Use global `--json` for raw API results. For `sessions export` or
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.4b0"
|
|
@@ -51,7 +51,7 @@ on failure a `{"error": …, "exit_code": …}` object on **stdout** too; human
|
|
|
51
51
|
|
|
52
52
|
**Getting started**
|
|
53
53
|
|
|
54
|
-
* `fp --base-url https://cloud.example.com login` —
|
|
54
|
+
* `fp --base-url https://cloud.example.com login` — authorize from a browser, or use an emailed code
|
|
55
55
|
* `fp whoami` — confirm who you are and your permissions
|
|
56
56
|
* `fp --json sessions --since 24h` — run a query (results are newest-first)
|
|
57
57
|
|
|
@@ -132,12 +132,6 @@ app = typer.Typer(
|
|
|
132
132
|
# function Typer calls for this; falls back silently if its internals change.
|
|
133
133
|
try: # pragma: no cover - exercised via real command output, not unit assertions
|
|
134
134
|
import typer.rich_utils as _rich_utils
|
|
135
|
-
# Keep generated subcommand help on the same shared screen primitives.
|
|
136
|
-
_rich_utils.Panel = output.Panel
|
|
137
|
-
_rich_utils.Table = output.Table
|
|
138
|
-
_rich_utils.STYLE_OPTION = output.theme.PINK
|
|
139
|
-
_rich_utils.STYLE_COMMANDS_TABLE_FIRST_COLUMN = output.theme.PINK
|
|
140
|
-
_rich_utils.STYLE_OPTION_ENVVAR = output.theme.LABEL
|
|
141
135
|
|
|
142
136
|
import re as _re
|
|
143
137
|
|
|
@@ -337,7 +331,7 @@ def main(
|
|
|
337
331
|
"must be a positive number of seconds.", param_hint="--timeout"
|
|
338
332
|
)
|
|
339
333
|
cfg = cfgmod.load_config()
|
|
340
|
-
output.configure(no_color=no_color, quiet=quiet, json=json_output
|
|
334
|
+
output.configure(no_color=no_color, quiet=quiet, json=json_output)
|
|
341
335
|
# Resolve the credential BEFORE telemetry starts: the distinct-id depends on it.
|
|
342
336
|
# `get_parameter_source` is what separates a flag from its env var — the values
|
|
343
337
|
# alone cannot, and the precedence rules differ between the two (see resolve_auth).
|
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""Signing in against the dashboard. Both ways end in the same session.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Emailed code: ``/api/auth/otp/request`` (sends a code) then ``/api/auth/otp/verify``.
|
|
4
4
|
The verify response carries the session token in the ``ae_session`` **Set-Cookie**
|
|
5
5
|
header (not the JSON body), so we read it from ``response.cookies``.
|
|
6
|
+
|
|
7
|
+
Browser: ``/api/auth/cli/start`` returns a link and a poll secret, a person approves
|
|
8
|
+
the link while this polls ``/poll`` with the secret, then ``/claim`` creates the
|
|
9
|
+
session and returns it, once. The token is in the JSON body there: nothing is setting a
|
|
10
|
+
browser cookie. The other end is ``server/src/routes/cli_login.rs`` in AgentEye.
|
|
6
11
|
"""
|
|
7
12
|
|
|
8
13
|
from __future__ import annotations
|
|
9
14
|
|
|
15
|
+
import math
|
|
16
|
+
import os
|
|
17
|
+
import platform as platform_info
|
|
18
|
+
import re
|
|
19
|
+
import socket
|
|
20
|
+
import subprocess
|
|
21
|
+
import sys
|
|
22
|
+
import time
|
|
23
|
+
from dataclasses import dataclass, field
|
|
10
24
|
from datetime import datetime, timedelta, timezone
|
|
11
|
-
from typing import Any, Dict, Optional, Tuple
|
|
25
|
+
from typing import Any, Callable, Dict, Mapping, Optional, Tuple
|
|
26
|
+
from urllib.parse import urlsplit
|
|
12
27
|
|
|
13
28
|
import uuid
|
|
14
29
|
|
|
15
30
|
import httpx
|
|
16
31
|
|
|
32
|
+
from ._version import __version__
|
|
17
33
|
from .config import CliConfig, save_config
|
|
18
34
|
from .client import _request_id_of
|
|
19
35
|
from .errors import ApiError, AuthError, NetworkError
|
|
@@ -136,6 +152,312 @@ def verify_otp(
|
|
|
136
152
|
return token, expires_in, user
|
|
137
153
|
|
|
138
154
|
|
|
155
|
+
#: Sent at start and required back. A Cloud from before this feature's server half
|
|
156
|
+
#: drops the field and would end the request in a machine key, so a missing echo
|
|
157
|
+
#: means "no browser login here": nothing gets approved, and nothing gets minted.
|
|
158
|
+
BROWSER_LOGIN_KIND = "session"
|
|
159
|
+
|
|
160
|
+
#: A poll stalled on a bad connection freezes the countdown and the Esc key with it.
|
|
161
|
+
_POLL_TIMEOUT_SECS = 10.0
|
|
162
|
+
|
|
163
|
+
# Controls (a terminal executes them), bidi overrides and isolates, and zero-width
|
|
164
|
+
# formatting. Same set as `displayText` in the npm CLI's `cloud-login.ts`.
|
|
165
|
+
_INVISIBLE = re.compile(
|
|
166
|
+
"[\u0000-\u001f\u007f-\u009f---]"
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
#: What a session token can be and still be sent back on every later request. A real one is
|
|
171
|
+
#: 64 hex characters; a cookie or a header can't carry a control or a non-ASCII character.
|
|
172
|
+
_SESSION_TOKEN = re.compile(r"[A-Za-z0-9._~+/=-]{1,4096}")
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def display_text(value: Any, max_chars: int = 200) -> Optional[str]:
|
|
176
|
+
"""A server-supplied string made safe to print, or ``None`` if nothing is left."""
|
|
177
|
+
if not isinstance(value, str):
|
|
178
|
+
return None
|
|
179
|
+
return _INVISIBLE.sub("", value).strip()[:max_chars] or None
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
def _machine_label() -> str:
|
|
183
|
+
"""This machine's name, always sendable. Python hands back a hostname's non-UTF-8 bytes
|
|
184
|
+
as surrogates, which JSON can't carry, and the server refuses a label with nothing in it."""
|
|
185
|
+
name = socket.gethostname().encode("utf-8", "replace").decode("utf-8")
|
|
186
|
+
return display_text(name) or "unknown"
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
def _within(value: Any, low: float, high: float, fallback: float) -> float:
|
|
190
|
+
"""A server's number, kept to a range this client can live with."""
|
|
191
|
+
if isinstance(value, bool) or not isinstance(value, (int, float)):
|
|
192
|
+
return fallback
|
|
193
|
+
# `isfinite` only on a float: JSON integers have no size limit, and past a float's
|
|
194
|
+
# range it raises instead of answering.
|
|
195
|
+
if (isinstance(value, float) and not math.isfinite(value)) or value <= 0:
|
|
196
|
+
return fallback
|
|
197
|
+
return min(high, max(low, value))
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
def _is_openable(url: Any) -> bool:
|
|
201
|
+
"""Only a plain http(s) link is printed or handed to the opener: it comes from the
|
|
202
|
+
server, and ``xdg-open`` will act on any scheme it knows."""
|
|
203
|
+
if not isinstance(url, str) or not all(33 <= ord(c) < 127 for c in url):
|
|
204
|
+
return False
|
|
205
|
+
try:
|
|
206
|
+
parts = urlsplit(url)
|
|
207
|
+
return parts.scheme in ("http", "https") and bool(parts.hostname) and parts.port != 0
|
|
208
|
+
except ValueError: # malformed, or `.port` past 65535
|
|
209
|
+
return False
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
def can_open_browser(
|
|
213
|
+
env: Mapping[str, str] = os.environ, platform: str = sys.platform
|
|
214
|
+
) -> bool:
|
|
215
|
+
"""False over SSH, where a browser would start on the remote machine, and on a Linux
|
|
216
|
+
box with no display. A guess: being wrong costs a browser that doesn't appear next to
|
|
217
|
+
a link that is printed anyway."""
|
|
218
|
+
if env.get("SSH_CONNECTION") or env.get("SSH_CLIENT") or env.get("SSH_TTY"):
|
|
219
|
+
return False
|
|
220
|
+
if platform.startswith("linux") and not env.get("DISPLAY") and not env.get("WAYLAND_DISPLAY"):
|
|
221
|
+
return False
|
|
222
|
+
return True
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
def open_url(url: str, platform: str = sys.platform) -> None:
|
|
226
|
+
"""Open a link with the platform's handler. Never raises: the link is on screen.
|
|
227
|
+
|
|
228
|
+
Not ``webbrowser``: it falls back to text browsers like lynx, which would take over
|
|
229
|
+
this terminal in the middle of the login box."""
|
|
230
|
+
try:
|
|
231
|
+
if platform == "win32":
|
|
232
|
+
os.startfile(url) # type: ignore[attr-defined]
|
|
233
|
+
return
|
|
234
|
+
subprocess.Popen(
|
|
235
|
+
["open" if platform == "darwin" else "xdg-open", url],
|
|
236
|
+
stdin=subprocess.DEVNULL,
|
|
237
|
+
stdout=subprocess.DEVNULL,
|
|
238
|
+
stderr=subprocess.DEVNULL,
|
|
239
|
+
start_new_session=True,
|
|
240
|
+
)
|
|
241
|
+
except OSError:
|
|
242
|
+
pass
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def _post_login(
|
|
246
|
+
base_url: str,
|
|
247
|
+
path: str,
|
|
248
|
+
body: Dict[str, Any],
|
|
249
|
+
*,
|
|
250
|
+
timeout: float,
|
|
251
|
+
transport: Optional[httpx.BaseTransport],
|
|
252
|
+
verify: bool,
|
|
253
|
+
) -> httpx.Response:
|
|
254
|
+
try:
|
|
255
|
+
with httpx.Client(
|
|
256
|
+
base_url=base_url.rstrip("/"),
|
|
257
|
+
timeout=timeout,
|
|
258
|
+
transport=transport,
|
|
259
|
+
verify=verify,
|
|
260
|
+
headers=_request_id_header(),
|
|
261
|
+
) as client:
|
|
262
|
+
return client.post(path, json=body)
|
|
263
|
+
except httpx.RequestError as exc:
|
|
264
|
+
raise _network_error(base_url, exc)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def _json_object(response: httpx.Response) -> Optional[Dict[str, Any]]:
|
|
268
|
+
try:
|
|
269
|
+
body = response.json()
|
|
270
|
+
except Exception:
|
|
271
|
+
return None
|
|
272
|
+
return body if isinstance(body, dict) else None
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
@dataclass(frozen=True)
|
|
276
|
+
class BrowserLogin:
|
|
277
|
+
verification_url: str
|
|
278
|
+
poll_secret: str
|
|
279
|
+
expires_in: float
|
|
280
|
+
interval: float
|
|
281
|
+
started: float = field(default_factory=time.monotonic, compare=False)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
def start_browser_login(
|
|
285
|
+
base_url: str,
|
|
286
|
+
*,
|
|
287
|
+
timeout: float = 30.0,
|
|
288
|
+
transport: Optional[httpx.BaseTransport] = None,
|
|
289
|
+
verify: bool = True,
|
|
290
|
+
) -> Optional[BrowserLogin]:
|
|
291
|
+
"""Open a login request. ``None`` means this Cloud can't do browser login, and the
|
|
292
|
+
emailed code still works."""
|
|
293
|
+
response = _post_login(
|
|
294
|
+
base_url,
|
|
295
|
+
"/api/auth/cli/start",
|
|
296
|
+
{
|
|
297
|
+
"machine_label": _machine_label(),
|
|
298
|
+
"machine_os": "macOS" if sys.platform == "darwin" else platform_info.system().lower(),
|
|
299
|
+
"cli_version": f"fp {__version__}",
|
|
300
|
+
"kind": BROWSER_LOGIN_KIND,
|
|
301
|
+
},
|
|
302
|
+
timeout=timeout,
|
|
303
|
+
transport=transport,
|
|
304
|
+
verify=verify,
|
|
305
|
+
)
|
|
306
|
+
status = response.status_code
|
|
307
|
+
body = _json_object(response)
|
|
308
|
+
# No such route, the web app redirecting an unknown path, or serving a page in its
|
|
309
|
+
# place: a Cloud from before browser login. Not an error.
|
|
310
|
+
if status == 404 or 300 <= status < 400 or (status == 200 and body is None):
|
|
311
|
+
return None
|
|
312
|
+
request_id = _request_id_of(response)
|
|
313
|
+
if status == 429:
|
|
314
|
+
raise ApiError(
|
|
315
|
+
"Too many login attempts from here — wait a minute, then run fp login again.",
|
|
316
|
+
status=429,
|
|
317
|
+
request_id=request_id,
|
|
318
|
+
)
|
|
319
|
+
if status >= 500:
|
|
320
|
+
raise NetworkError(
|
|
321
|
+
f"FailproofAI Cloud at {base_url} answered HTTP {status}.", request_id=request_id
|
|
322
|
+
)
|
|
323
|
+
if status != 201 or body is None:
|
|
324
|
+
raise ApiError(
|
|
325
|
+
f"Could not start a browser login (HTTP {status}).", status=status, request_id=request_id
|
|
326
|
+
)
|
|
327
|
+
url = body.get("verification_url")
|
|
328
|
+
secret = body.get("poll_secret")
|
|
329
|
+
if body.get("kind") != BROWSER_LOGIN_KIND or not _is_openable(url):
|
|
330
|
+
return None
|
|
331
|
+
if not isinstance(secret, str) or not secret:
|
|
332
|
+
return None
|
|
333
|
+
return BrowserLogin(
|
|
334
|
+
verification_url=url,
|
|
335
|
+
poll_secret=secret,
|
|
336
|
+
expires_in=_within(body.get("expires_in"), 30, 3600, 600),
|
|
337
|
+
interval=_within(body.get("interval"), 1, 30, 2),
|
|
338
|
+
)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
def poll_browser_login(
|
|
342
|
+
base_url: str,
|
|
343
|
+
poll_secret: str,
|
|
344
|
+
*,
|
|
345
|
+
timeout: float = _POLL_TIMEOUT_SECS,
|
|
346
|
+
transport: Optional[httpx.BaseTransport] = None,
|
|
347
|
+
verify: bool = True,
|
|
348
|
+
) -> str:
|
|
349
|
+
"""One "approved yet?". Raises ``NetworkError`` for anything worth trying again."""
|
|
350
|
+
response = _post_login(
|
|
351
|
+
base_url,
|
|
352
|
+
"/api/auth/cli/poll",
|
|
353
|
+
{"poll_secret": poll_secret},
|
|
354
|
+
timeout=timeout,
|
|
355
|
+
transport=transport,
|
|
356
|
+
verify=verify,
|
|
357
|
+
)
|
|
358
|
+
if response.status_code == 404:
|
|
359
|
+
return "unknown"
|
|
360
|
+
body = _json_object(response)
|
|
361
|
+
if response.status_code != 200 or body is None:
|
|
362
|
+
raise NetworkError(
|
|
363
|
+
f"FailproofAI Cloud at {base_url} answered HTTP {response.status_code}.",
|
|
364
|
+
request_id=_request_id_of(response),
|
|
365
|
+
)
|
|
366
|
+
status = body.get("status")
|
|
367
|
+
known = ("pending", "slow_down", "approved", "denied", "expired", "claimed")
|
|
368
|
+
return status if status in known else "unknown"
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
def await_browser_approval(
|
|
372
|
+
base_url: str,
|
|
373
|
+
login: BrowserLogin,
|
|
374
|
+
*,
|
|
375
|
+
tick: Callable[[float, bool], None],
|
|
376
|
+
timeout: float = _POLL_TIMEOUT_SECS,
|
|
377
|
+
transport: Optional[httpx.BaseTransport] = None,
|
|
378
|
+
verify: bool = True,
|
|
379
|
+
) -> str:
|
|
380
|
+
"""Poll until the person answers or the link runs out; returns the final status.
|
|
381
|
+
|
|
382
|
+
``tick(seconds_left, offline)`` waits a moment and may draw; it is how the caller
|
|
383
|
+
stays responsive, and how a key press gets to cancel. A dropped connection is not
|
|
384
|
+
an answer, so polling carries on through it.
|
|
385
|
+
"""
|
|
386
|
+
deadline = login.started + login.expires_in # not from now: Tab can come back to a link
|
|
387
|
+
next_poll = time.monotonic() + login.interval
|
|
388
|
+
offline = False
|
|
389
|
+
while True:
|
|
390
|
+
now = time.monotonic()
|
|
391
|
+
if now >= deadline:
|
|
392
|
+
return "expired"
|
|
393
|
+
tick(deadline - now, offline)
|
|
394
|
+
if time.monotonic() < next_poll:
|
|
395
|
+
continue
|
|
396
|
+
try:
|
|
397
|
+
status = poll_browser_login(
|
|
398
|
+
base_url,
|
|
399
|
+
login.poll_secret,
|
|
400
|
+
timeout=min(timeout, _POLL_TIMEOUT_SECS),
|
|
401
|
+
transport=transport,
|
|
402
|
+
verify=verify,
|
|
403
|
+
)
|
|
404
|
+
offline = False
|
|
405
|
+
except NetworkError:
|
|
406
|
+
status, offline = "pending", True
|
|
407
|
+
if status not in ("pending", "slow_down"):
|
|
408
|
+
return status
|
|
409
|
+
next_poll = time.monotonic() + login.interval + (1 if status == "slow_down" else 0)
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
def claim_browser_login(
|
|
413
|
+
base_url: str,
|
|
414
|
+
poll_secret: str,
|
|
415
|
+
*,
|
|
416
|
+
timeout: float = 30.0,
|
|
417
|
+
transport: Optional[httpx.BaseTransport] = None,
|
|
418
|
+
verify: bool = True,
|
|
419
|
+
) -> Tuple[str, int, Dict[str, Any]]:
|
|
420
|
+
"""Collect the session, once. Returns ``(token, expires_in_secs, user)``, the same
|
|
421
|
+
shape as :func:`verify_otp`."""
|
|
422
|
+
response = _post_login(
|
|
423
|
+
base_url,
|
|
424
|
+
"/api/auth/cli/claim",
|
|
425
|
+
{"poll_secret": poll_secret},
|
|
426
|
+
timeout=timeout,
|
|
427
|
+
transport=transport,
|
|
428
|
+
verify=verify,
|
|
429
|
+
)
|
|
430
|
+
request_id = _request_id_of(response)
|
|
431
|
+
if response.status_code >= 500:
|
|
432
|
+
raise NetworkError(
|
|
433
|
+
f"FailproofAI Cloud at {base_url} answered HTTP {response.status_code}.",
|
|
434
|
+
hint="run fp login again",
|
|
435
|
+
request_id=request_id,
|
|
436
|
+
)
|
|
437
|
+
body = _json_object(response) or {}
|
|
438
|
+
token = body.get("session_token")
|
|
439
|
+
user = body.get("user")
|
|
440
|
+
user = user if isinstance(user, dict) else {}
|
|
441
|
+
user_id, email = display_text(user.get("id")), display_text(user.get("email"))
|
|
442
|
+
# No identity is no login: `persist_session` keeps the previous one when a field is
|
|
443
|
+
# missing, which would save this session under whoever was signed in before.
|
|
444
|
+
if (
|
|
445
|
+
response.status_code != 201
|
|
446
|
+
or not isinstance(token, str)
|
|
447
|
+
or not _SESSION_TOKEN.fullmatch(token)
|
|
448
|
+
or not user_id
|
|
449
|
+
or not email
|
|
450
|
+
):
|
|
451
|
+
raise AuthError(
|
|
452
|
+
"That login can't be finished any more.",
|
|
453
|
+
hint="run fp login again",
|
|
454
|
+
request_id=request_id,
|
|
455
|
+
)
|
|
456
|
+
# The server's own range for a session lifetime. Past it `timedelta` raises on saving.
|
|
457
|
+
expires_in = int(_within(body.get("expires_in_secs"), 60, 30 * 86400, 86400))
|
|
458
|
+
return token, expires_in, {"id": user_id, "email": email}
|
|
459
|
+
|
|
460
|
+
|
|
139
461
|
def persist_session(
|
|
140
462
|
cfg: CliConfig,
|
|
141
463
|
base_url: str,
|
|
@@ -15,7 +15,6 @@ from . import output, theme
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
def begin(title: str) -> None:
|
|
18
|
-
output.screen_header()
|
|
19
18
|
output._stdout.print(Text(title.upper(), style="bold"))
|
|
20
19
|
|
|
21
20
|
|
|
@@ -352,14 +351,15 @@ def resource(path: str, method: str, data: Any, body=None, params=None) -> None:
|
|
|
352
351
|
tile_view="tiles" in parts, dashboard_id=parts[1] if len(parts) > 1 else None)
|
|
353
352
|
elif family == "otel" or family == "settings" and parts[-1] == "otel.ingest_enabled":
|
|
354
353
|
begin("OTEL")
|
|
355
|
-
|
|
354
|
+
# OTLP ingest is always on now; a server that still reports the old switch is honoured.
|
|
355
|
+
kv([("ingest", state(row.get("enabled", row.get("value", body.get("value", True))))),
|
|
356
356
|
("events 24h", row.get("events_24h")), ("last received", row.get("last_received_at")),
|
|
357
357
|
("content missing", row.get("content_missing"))])
|
|
358
358
|
services = collection(row, "services")
|
|
359
359
|
table(["service", "events", "last received"], [
|
|
360
360
|
[r.get("name", r.get("service_name")), r.get("event_count", r.get("events")), r.get("last_received_at")]
|
|
361
361
|
if isinstance(r, dict) else [r, "—", "—"] for r in services
|
|
362
|
-
], empty_message="no OTEL services yet", command="fp otel
|
|
362
|
+
], empty_message="no OTEL services yet", command="fp otel status")
|
|
363
363
|
elif family == "integrations":
|
|
364
364
|
begin("Slack")
|
|
365
365
|
connection = row.get("integration", row.get("connection", row))
|
|
@@ -106,16 +106,6 @@ def otel_status(ctx: typer.Context) -> None:
|
|
|
106
106
|
request(ctx, "GET", "/api/otel/status")
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
def otel_enable(ctx: typer.Context) -> None:
|
|
110
|
-
"""Enable OTEL ingestion for the Cloud org."""
|
|
111
|
-
request(ctx, "PUT", "/api/settings/otel.ingest_enabled", {"value": True})
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
def otel_disable(ctx: typer.Context) -> None:
|
|
115
|
-
"""Disable OTEL ingestion for the Cloud org."""
|
|
116
|
-
request(ctx, "PUT", "/api/settings/otel.ingest_enabled", {"value": False})
|
|
117
|
-
|
|
118
|
-
|
|
119
109
|
def slack_status(ctx: typer.Context) -> None:
|
|
120
110
|
"""Show Slack connection status (session only)."""
|
|
121
111
|
_cloud.session_only(ctx.obj, "slack status")
|
|
@@ -158,7 +148,7 @@ def register_context_windows(settings_app):
|
|
|
158
148
|
def register(app):
|
|
159
149
|
for name, help_text, commands in (
|
|
160
150
|
("roles", "Manage permission sets.", (("list", roles_list), ("show", roles_show), ("create", roles_create), ("update", roles_update), ("delete", roles_delete))),
|
|
161
|
-
("otel", "Control Cloud OTEL ingest.", (("status", otel_status),
|
|
151
|
+
("otel", "Control Cloud OTEL ingest.", (("status", otel_status),)),
|
|
162
152
|
("slack", "Manage the Slack integration (session only).", (("status", slack_status), ("disconnect", slack_disconnect))),
|
|
163
153
|
):
|
|
164
154
|
group = typer.Typer(no_args_is_help=True, help=help_text, context_settings={"help_option_names": ["-h", "--help"]})
|