failproofai 1.0.13 → 1.0.14
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]__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]__1xwr4hi-on27i._.js +3 -0
- 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/_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/_0p1cb69sml__f._.js +3 -0
- 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_0r9i9nq3-ei-l.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/0tiuj32d-qcy3.js +1 -0
- package/.next/standalone/.next/static/chunks/0ztuix-ip2oiv.js +1 -0
- package/.next/standalone/.next/static/chunks/{40g_e46c1-j4k.js → 107jrtkeylnrv.js} +1 -1
- package/.next/standalone/.next/static/chunks/110hwwc6agsr8.js +1 -0
- package/.next/standalone/.next/static/chunks/19e9khxgv8fb8.js +1 -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/2codb6nb412m9.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/2maurwweshrsj.js +1 -0
- package/.next/standalone/.next/static/chunks/2wh64znsc_mo2.js +1 -0
- package/.next/standalone/.next/static/chunks/2wye36b3mbzpa.js +31 -0
- package/.next/standalone/.next/static/chunks/{0mm-e5t9denbu.js → 2zlfhyqvlvf7o.js} +1 -1
- package/.next/standalone/.next/static/chunks/3hk5y4kny2ktd.js +1 -0
- 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/3v49ogp389dun.js +1 -0
- package/.next/standalone/.next/static/chunks/41ujrab732qi3.css +2 -0
- package/.next/standalone/.next/static/chunks/435eshlryosz1.js +1 -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/fp-cloud-cli/CHANGELOG.md +13 -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-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 +11 -11
- 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 +279 -277
- package/.next/standalone/sdk/typescript/integration/fixtures/nextjs/package.json +2 -2
- package/.next/standalone/server.js +1 -1
- package/dist/cli.mjs +22 -12
- package/dist/worker.mjs +1 -1
- package/hermes-plugin/plugin.yaml +1 -1
- package/package.json +11 -11
- 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/1-0se0uwja_ny.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/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 → -iBiSmrLiylRKLAg77zlQ}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -iBiSmrLiylRKLAg77zlQ}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -iBiSmrLiylRKLAg77zlQ}/_ssgManifest.js +0 -0
|
@@ -25,6 +25,14 @@ def stdin_is_tty() -> bool: # noqa: D401
|
|
|
25
25
|
return False
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
def stderr_is_tty() -> bool:
|
|
29
|
+
"""True iff stderr is an interactive terminal, so a person can see what's written there."""
|
|
30
|
+
try:
|
|
31
|
+
return sys.stderr.isatty()
|
|
32
|
+
except Exception:
|
|
33
|
+
return False
|
|
34
|
+
|
|
35
|
+
|
|
28
36
|
def choose_org(slugs: Sequence[str], default: Optional[str] = None) -> str:
|
|
29
37
|
"""Render ``slugs`` and prompt until the user picks one (by slug or number).
|
|
30
38
|
|
|
@@ -160,6 +168,15 @@ class LoginCancelled(Exception):
|
|
|
160
168
|
"""The user pressed Esc / Ctrl-C during the login flow (calm cancel, not an error)."""
|
|
161
169
|
|
|
162
170
|
|
|
171
|
+
class SwitchSignIn(Exception):
|
|
172
|
+
"""Tab at the email or the link: the other way of signing in. ``typed`` is what the email
|
|
173
|
+
field held, to put back when the person returns to it."""
|
|
174
|
+
|
|
175
|
+
def __init__(self, typed: str = "") -> None:
|
|
176
|
+
super().__init__()
|
|
177
|
+
self.typed = typed
|
|
178
|
+
|
|
179
|
+
|
|
163
180
|
def login_box_supported() -> bool:
|
|
164
181
|
"""True iff the single-box interactive login can run (real TTY on stdin+stderr + termios) —
|
|
165
182
|
otherwise ``login`` uses the plain prompt flow (tests, pipes, CI, ``--json``)."""
|
|
@@ -175,9 +192,11 @@ class LoginBox:
|
|
|
175
192
|
def __init__(self) -> None:
|
|
176
193
|
self.done: List = [] # collapsed ✓ steps: (label, value)
|
|
177
194
|
self.active: Optional[str] = None
|
|
195
|
+
self.link = None # the browser link on offer, kept while Tab goes to email and back
|
|
178
196
|
self._fd = sys.stdin.fileno()
|
|
179
197
|
self._old = None
|
|
180
198
|
self._live = None
|
|
199
|
+
self._link_rows = 0 # rows `show_link` printed above the live part
|
|
181
200
|
|
|
182
201
|
def __enter__(self) -> "LoginBox":
|
|
183
202
|
import termios
|
|
@@ -202,17 +221,26 @@ class LoginBox:
|
|
|
202
221
|
termios.tcsetattr(self._fd, termios.TCSADRAIN, self._old)
|
|
203
222
|
|
|
204
223
|
def _draw(self, **kw) -> None:
|
|
224
|
+
if self._link_rows: # take down what `show_link` printed
|
|
225
|
+
from rich.control import Control
|
|
226
|
+
from rich.segment import ControlType
|
|
227
|
+
from rich.text import Text
|
|
228
|
+
|
|
229
|
+
self._live.update(Text(""), refresh=True) # the cursor is now just under those rows
|
|
230
|
+
up_and_erase = ((ControlType.CURSOR_UP, 1), (ControlType.ERASE_IN_LINE, 2))
|
|
231
|
+
self._live.console.control(Control(*up_and_erase * self._link_rows))
|
|
232
|
+
self._link_rows = 0
|
|
205
233
|
self._live.update(output.render_login_frame(self.done, self.active, **kw))
|
|
206
234
|
self._live.refresh()
|
|
207
235
|
|
|
208
|
-
def _read_line(self, *, helper, slots, error) -> str:
|
|
236
|
+
def _read_line(self, *, helper, slots, error, value: str = "", tab: bool = False) -> str:
|
|
209
237
|
"""Read one line in raw mode, redrawing the frame on every keystroke so the typed text
|
|
210
238
|
appears INSIDE the box (echo is off). Backspace edits; Enter accepts; Esc / Ctrl-C / EOF
|
|
211
239
|
cancel (an arrow escape-sequence mid-type is swallowed, not a cancel). A ``slots`` field
|
|
212
|
-
accepts digits only, capped at ``slots``."""
|
|
240
|
+
accepts digits only, capped at ``slots``. With ``tab``, Tab raises ``SwitchSignIn``."""
|
|
213
241
|
import select as _sel
|
|
214
242
|
|
|
215
|
-
buf =
|
|
243
|
+
buf = value
|
|
216
244
|
self._draw(active_value=buf, active_slots=slots, helper=helper, error=error)
|
|
217
245
|
while True:
|
|
218
246
|
try:
|
|
@@ -225,6 +253,9 @@ class LoginBox:
|
|
|
225
253
|
return buf
|
|
226
254
|
if ch == b"\x03": # Ctrl-C as a byte (if signals were off)
|
|
227
255
|
raise LoginCancelled()
|
|
256
|
+
if ch == b"\t" and tab:
|
|
257
|
+
self.active = None
|
|
258
|
+
raise SwitchSignIn(buf)
|
|
228
259
|
if ch == b"\x1b": # Esc, or the start of an arrow escape sequence
|
|
229
260
|
r, _, _ = _sel.select([self._fd], [], [], 0.0008)
|
|
230
261
|
if r:
|
|
@@ -248,16 +279,18 @@ class LoginBox:
|
|
|
248
279
|
|
|
249
280
|
def text_step(self, label: str, *, helper=None, slots=None, validate=None,
|
|
250
281
|
error_msg=None, hidden_value: bool = False, collapse: bool = True,
|
|
251
|
-
initial_error=None) -> str:
|
|
282
|
+
initial_error=None, value: str = "", tab: bool = False) -> str:
|
|
252
283
|
"""Run one bright ``❯ {label}`` input step; on a failed ``validate`` show the error sub-line
|
|
253
284
|
and re-prompt. On accept it collapses to a dim ``✓ {label} {value}`` line (the value is
|
|
254
285
|
omitted when ``hidden_value``). With ``collapse=False`` it returns the value WITHOUT adding
|
|
255
286
|
the ✓ line (the caller verifies it over the network first, then calls ``note``); ``initial_error``
|
|
256
|
-
seeds the error sub-line on the first draw (a re-prompt after a wrong code).
|
|
287
|
+
seeds the error sub-line on the first draw (a re-prompt after a wrong code). ``value`` starts
|
|
288
|
+
the field with text in it, and ``tab`` makes Tab raise ``SwitchSignIn``."""
|
|
257
289
|
self.active = label
|
|
258
290
|
error = initial_error
|
|
259
291
|
while True:
|
|
260
|
-
buf = self._read_line(helper=helper, slots=slots, error=error).strip()
|
|
292
|
+
buf = self._read_line(helper=helper, slots=slots, error=error, value=value, tab=tab).strip()
|
|
293
|
+
value = ""
|
|
261
294
|
if validate is None or validate(buf):
|
|
262
295
|
self.active = None
|
|
263
296
|
if collapse:
|
|
@@ -280,6 +313,51 @@ class LoginBox:
|
|
|
280
313
|
# text_step's own loop shows the error; this is for the verify-fail re-prompt path.
|
|
281
314
|
self._draw(error=message)
|
|
282
315
|
|
|
316
|
+
def show_link(self, intro: str, url: str) -> None:
|
|
317
|
+
"""Put a link in the box. It's printed, not drawn: the frame redraws on every tick, which
|
|
318
|
+
clears a person's selection, and Rich would break a long link across lines, where it
|
|
319
|
+
can't be clicked or copied whole. Only the waiting line under it stays live, and the next
|
|
320
|
+
frame takes it all down again."""
|
|
321
|
+
from rich.text import Text
|
|
322
|
+
|
|
323
|
+
self._live.update(Text(""), refresh=True)
|
|
324
|
+
self._link_rows = output.print_login_link(self.done, intro, url)
|
|
325
|
+
|
|
326
|
+
def waiting(self, line: str, keys: str) -> None:
|
|
327
|
+
"""Redraw the live part under a link, leaving the link alone."""
|
|
328
|
+
self._live.update(output.render_login_waiting(line, keys))
|
|
329
|
+
self._live.refresh()
|
|
330
|
+
|
|
331
|
+
def wait_key(self, seconds: float) -> Optional[str]:
|
|
332
|
+
"""Up to ``seconds`` for a keypress: its token, or ``None``. Esc / Ctrl-C raise
|
|
333
|
+
``LoginCancelled``."""
|
|
334
|
+
import select as _sel
|
|
335
|
+
|
|
336
|
+
try:
|
|
337
|
+
ready, _, _ = _sel.select([self._fd], [], [], seconds)
|
|
338
|
+
key = _read_key(self._fd) if ready else None
|
|
339
|
+
except KeyboardInterrupt:
|
|
340
|
+
raise LoginCancelled()
|
|
341
|
+
if key in ("ESC", "CTRL_C", "EOF"):
|
|
342
|
+
raise LoginCancelled()
|
|
343
|
+
return key
|
|
344
|
+
|
|
345
|
+
def link_ended(self, message: str) -> None:
|
|
346
|
+
"""A link that can't be used any more, inside the box. Returns on Enter, for a new link.
|
|
347
|
+
Tab raises ``SwitchSignIn``; Esc and Ctrl-C raise ``LoginCancelled``."""
|
|
348
|
+
self._draw(failed=(message, "enter new link · tab use email · esc cancel"))
|
|
349
|
+
while True:
|
|
350
|
+
try:
|
|
351
|
+
key = _read_key(self._fd)
|
|
352
|
+
except KeyboardInterrupt:
|
|
353
|
+
raise LoginCancelled()
|
|
354
|
+
if key == "ENTER":
|
|
355
|
+
return
|
|
356
|
+
if key == "\t":
|
|
357
|
+
raise SwitchSignIn()
|
|
358
|
+
if key in ("ESC", "CTRL_C", "EOF"):
|
|
359
|
+
raise LoginCancelled()
|
|
360
|
+
|
|
283
361
|
def pick(self, slugs: Sequence[str], *, default: Optional[str] = None) -> str:
|
|
284
362
|
"""The nested org-picker inset: arrow keys move the cursor, Enter selects (collapses to
|
|
285
363
|
``✓ org {slug}``), Esc / Ctrl-C raise ``LoginCancelled``."""
|
|
@@ -314,6 +392,7 @@ class LoginBox:
|
|
|
314
392
|
def cancel(self, persisted: bool) -> None:
|
|
315
393
|
"""Render the calm close — ``○ cancelled — not signed in`` (or ``○ signed in · pick an org …``
|
|
316
394
|
when the session was already persisted)."""
|
|
395
|
+
self.active = None # the step that was asking is over, so no prompt is left behind
|
|
317
396
|
self._draw(cancelled=bool(persisted))
|
|
318
397
|
|
|
319
398
|
def fail(self, message: str, hint: Optional[str] = None) -> None:
|
|
@@ -6,35 +6,35 @@ entirely under ``NO_COLOR`` / non-color terminals.
|
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
ACCENT = "#
|
|
10
|
-
TEXT = "
|
|
11
|
-
TEXT_DIM = "#
|
|
12
|
-
LABEL = "#
|
|
13
|
-
FAINT = "#
|
|
14
|
-
THIN_RULE = "#
|
|
15
|
-
BAR_EMPTY = "#
|
|
16
|
-
INSET_BG = "
|
|
9
|
+
ACCENT = "#9d7bff" # brand mark, box borders, active org, command names in hints
|
|
10
|
+
TEXT = "#d8d2dd" # primary values
|
|
11
|
+
TEXT_DIM = "#7d7488" # ids, resource names, org names
|
|
12
|
+
LABEL = "#6b6478" # field labels, header cells, hints
|
|
13
|
+
FAINT = "#5a5266" # separators, inactive markers
|
|
14
|
+
THIN_RULE = "#2e2435" # the faint rule beneath a list-panel header
|
|
15
|
+
BAR_EMPTY = "#2a2530" # the unfilled cells of a mini-bar (e.g. the aggregate avg bar)
|
|
16
|
+
INSET_BG = "#231e2d" # a hair-lighter fill for a nested inset box (the login org picker)
|
|
17
17
|
|
|
18
18
|
# Errors theme — the one per-command border deviation (the `errors` list + aggregate card).
|
|
19
19
|
# Always red, regardless of error count, so the two views read as one consistent family.
|
|
20
|
-
BORDER_ERROR = "#
|
|
21
|
-
TITLE_ERROR_DIM =
|
|
22
|
-
RULE_ERROR = THIN_RULE
|
|
20
|
+
BORDER_ERROR = "#e2564a" # red → the errors panel border (same as ERROR; consistent, not count-dependent)
|
|
21
|
+
TITLE_ERROR_DIM = "#6e3530" # dim red → the errors title's non-name part + card separators
|
|
22
|
+
RULE_ERROR = "#3a2d2d" # dim red → the errors list header rule (vs the neutral THIN_RULE)
|
|
23
23
|
|
|
24
24
|
# Semantic value colors — for run/job states and score thresholds. (They coincide with
|
|
25
25
|
# the perm risk colors below; named separately so the two uses can diverge later.)
|
|
26
|
-
SUCCESS =
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
SUCCESS = "#5dcaa5" # green → run status: done/passed
|
|
27
|
+
AMBER = "#ef9f27" # amber → run status: running/pending · score band .50–.80
|
|
28
|
+
ERROR = "#e2564a" # red → run status: failed/error · score band < .50
|
|
29
|
+
SCORE_HIGH = "#3ddbb8" # cyan-green → score band ≥ .80 (distinct from status green)
|
|
30
|
+
BLUE = "#6b86d8" # blue → schema uuid/timestamp type category
|
|
31
|
+
PINK = "#d4537e" # pink → numeric values (query run cells / scalar card) + numeric type category
|
|
32
32
|
|
|
33
33
|
# Permission verb colors — by ACTION (the part after `:`), never by resource.
|
|
34
|
-
PERM_READ =
|
|
35
|
-
PERM_WRITE =
|
|
36
|
-
PERM_ACTION =
|
|
37
|
-
PERM_DANGER =
|
|
34
|
+
PERM_READ = "#5dcaa5" # green → read
|
|
35
|
+
PERM_WRITE = "#d4537e" # pink → add, create, write, update
|
|
36
|
+
PERM_ACTION = "#ef9f27" # amber → use, trigger, run, ack
|
|
37
|
+
PERM_DANGER = "#e2564a" # red → delete, disable, regenerate
|
|
38
38
|
|
|
39
39
|
PERM_COLORS = {
|
|
40
40
|
"read": PERM_READ,
|
|
@@ -50,7 +50,7 @@ dependencies = [
|
|
|
50
50
|
# neither CI nor the publish smoke test ever installed the broken part of the
|
|
51
51
|
# range. Measured across 0.12.0/0.12.3/0.12.5 (all fail) and 0.13.0 upward
|
|
52
52
|
# (all pass).
|
|
53
|
-
"typer>=0.13,<0.
|
|
53
|
+
"typer>=0.13,<0.30",
|
|
54
54
|
# `click` is what `_click_compat` falls back to when typer is < 0.26 (0.26+ brings its
|
|
55
55
|
# own), and `pygments` is imported directly. Both are declared rather than relied on
|
|
56
56
|
# transitively: modern `typer` no longer installs `click`, and `rich` could likewise
|
|
@@ -50,7 +50,7 @@ Throughout this skill, `fp` means "whichever form you resolved."
|
|
|
50
50
|
|
|
51
51
|
| | How you supply it | What it is |
|
|
52
52
|
|---|---|---|
|
|
53
|
-
| **Session** | `fp login` (interactive;
|
|
53
|
+
| **Session** | `fp login` (interactive; a browser link or an emailed one-time code) | a signed-in **user**, carrying that person's org memberships and permissions |
|
|
54
54
|
| **API key** | `--api-key <key>`, or `FP_API_KEY` in the environment | a scoped **credential**, carrying exactly the permissions it was granted |
|
|
55
55
|
|
|
56
56
|
A key is what you want in CI or any other non-interactive context: no browser, no
|
|
@@ -112,8 +112,8 @@ Throughout this skill, `fp` means "whichever form you resolved."
|
|
|
112
112
|
Before real work, run `fp --json whoami` and react to the exit code:
|
|
113
113
|
|
|
114
114
|
- **exit 4** → no usable credential. If the user is working from a session, tell
|
|
115
|
-
them to run `fp login` (
|
|
116
|
-
|
|
115
|
+
them to run `fp login` in their own terminal (they authorize a browser link or
|
|
116
|
+
paste an emailed code — you can't complete it for them, and don't fabricate a token).
|
|
117
117
|
If a key was supplied, the key itself was rejected — say so and stop; logging in
|
|
118
118
|
is not the fix, and silently switching to a session would run the command as a
|
|
119
119
|
different identity than the user asked for.
|
|
@@ -172,7 +172,7 @@ State-changing commands: `keys create/update/disable/regenerate`,
|
|
|
172
172
|
`audits create/edit/delete/run`, `audits contracts create/update` and the finding-triage verbs
|
|
173
173
|
(`ack/mute/dismiss/resolve/reopen/assign`),
|
|
174
174
|
`query create/update/delete`, `dashboards create/update/delete` and `dashboards tiles add/update/remove/layout`,
|
|
175
|
-
`roles create/update/delete`, `users delete`, `settings context-windows set/delete`,
|
|
175
|
+
`roles create/update/delete`, `users delete`, `settings context-windows set/delete`,
|
|
176
176
|
`slack disconnect`, `orgs create`, `plan claim`, `sessions re-evaluate` and `sessions import`,
|
|
177
177
|
`evaluators create/deploy/enable/disable/label/backfill` (an enabled evaluator scores every
|
|
178
178
|
new session; judge/Jev evaluators and Jev dry-runs spend model budget),
|
|
@@ -72,7 +72,7 @@ Exactly one credential is in play per invocation, chosen in this order:
|
|
|
72
72
|
## Identity
|
|
73
73
|
|
|
74
74
|
### login / logout / whoami
|
|
75
|
-
- `fp login [--email you@x.com] [--org <slug>]` —
|
|
75
|
+
- `fp login [--email you@x.com] [--org <slug>]` — on a real TTY, a single interactive box asking browser (authorize a link) or email (a one-time code); `--email`, `--json` and anything without a terminal go straight to the code at a plain prompt. Saves the session to `~/.failproofai/fpcli/cli-auth.json` (was `~/.fp/cli.json`; a session at the old path is adopted automatically on the next command, so an upgrade signs nobody out). **You cannot complete this for the user** (it needs their browser or their emailed code). `--org` picks the tenant at login. **Session-only** — exit 2 under a key.
|
|
76
76
|
- `fp logout` — clears the saved session. **Session-only** — exit 2 under a key (a key cannot be "logged out"; revoke it instead).
|
|
77
77
|
- `fp whoami` — active org + your permissions. Run this first; exit 4 = no usable credential.
|
|
78
78
|
**Under a key it answers a different question and still exits 0:** it reports that there is no signed-in user, names the auth mode, and gives the org it will act on. So branch on the auth mode, not on the absence of a user identity — and note that it does not prove the key is accepted or check any permission. Let the first real read do that.
|
|
@@ -385,8 +385,8 @@ Unknown-route 404s exit 6 with “not available on this FailproofAI Cloud yet”
|
|
|
385
385
|
Missing-record 404s also exit 6 but preserve the server's record-not-found message;
|
|
386
386
|
an empty response on a record-scoped request identifies the missing record path.
|
|
387
387
|
Session-only commands exit 2 before HTTP in key mode.
|
|
388
|
-
Human output uses
|
|
389
|
-
remains accepted. Exports refuse to overwrite existing files.
|
|
388
|
+
Human output uses rounded panels and full ids, which wrap rather than being cut;
|
|
389
|
+
legacy `--full-ids` remains accepted. Exports refuse to overwrite existing files.
|
|
390
390
|
|
|
391
391
|
Use global `--json` for API objects or `--out` to save a session/query JSON
|
|
392
392
|
export. Without either, human mode renders a readable view rather than raw
|
|
@@ -412,5 +412,5 @@ structures. CSV query export remains pipeable CSV.
|
|
|
412
412
|
| `users delete ID` / `users defaults` | deletion is by id, not email |
|
|
413
413
|
| `usage windows` / `plan` / `plan claim OFFER` | usage windows is API-key only; plan (offers + trial) and claim are session-only — each refuses the other mode before HTTP |
|
|
414
414
|
| `settings context-windows list\|set MODEL TOKENS\|delete MODEL` | tokens 0–1000000; model names may contain `/` |
|
|
415
|
-
| `otel status
|
|
415
|
+
| `otel status` | Cloud OTLP ingest status (always on): events in 24h, last received, services. Not local collector configuration |
|
|
416
416
|
| `slack status\|disconnect` | session only |
|
|
@@ -299,9 +299,9 @@ def main():
|
|
|
299
299
|
assert proc.returncode == 0 and sent, transcript[-1]
|
|
300
300
|
assert Cloud.answers[-1]["decision"] == "approve"
|
|
301
301
|
# CI may force colour even with NO_COLOR, inserting ANSI spans inside
|
|
302
|
-
# the
|
|
302
|
+
# the text. Compare visible text.
|
|
303
303
|
rendered = re.sub(r"\x1b\[[0-?]*[ -/]*[@-~]", "", output.decode(errors="replace"))
|
|
304
|
-
assert
|
|
304
|
+
assert "EVENTS BY AGENT" in rendered
|
|
305
305
|
server.shutdown()
|
|
306
306
|
(artifacts / "fp-user-smoke.txt").write_text("\n".join(transcript), encoding="utf-8")
|
|
307
307
|
(artifacts / "fp-fake-cloud-requests.json").write_text(json.dumps(Cloud.requests, indent=2), encoding="utf-8")
|