@godmode-team/godmode 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -98
- package/dist/godmode-ui/aeo.html +989 -0
- package/dist/godmode-ui/assets/index-DLms34x3.css +1 -0
- package/dist/godmode-ui/assets/{index-DSdrorA1.js → index-DSS-Mmm_.js} +1994 -1916
- package/dist/godmode-ui/assets/onboarding-setup-eq3R6nNk.js +1 -0
- package/dist/godmode-ui/index.html +2 -2
- package/dist/index.js +10478 -5784
- package/openclaw.plugin.json +1 -1
- package/package.json +34 -4
- package/dist/deck/.bundle-source.json +0 -5
- package/dist/godmode-ui/.bundle-source.json +0 -5
- package/dist/godmode-ui/assets/index-BzuIjNQD.css +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
async function a(e){if(!(!e.client||!e.connected))try{const n=await e.client.request("integrations.status",{});e.onboardingIntegrations=n.integrations,e.onboardingCoreProgress=n.coreProgress,e.onboardingProgress=Math.round(n.coreProgress.connected/n.coreProgress.total*100),e.requestUpdate()}catch(n){console.error("[onboarding-setup] Failed to load integrations:",n)}}function o(e,n){e.onboardingExpandedCard=n,n!==e.onboardingActiveGuide?.integrationId&&(e.onboardingActiveGuide=null,e.onboardingTestResult=null),e.requestUpdate()}async function d(e,n){if(!(!e.client||!e.connected)){e.onboardingLoadingGuide=n,e.requestUpdate();try{const r=await e.client.request("integrations.setupGuide",{integrationId:n});e.onboardingActiveGuide=r,e.onboardingLoadingGuide=null,e.requestUpdate()}catch(r){console.error("[onboarding-setup] Failed to load guide:",r),e.onboardingLoadingGuide=null,e.requestUpdate()}}}async function t(e,n){if(!(!e.client||!e.connected)){e.onboardingTestingId=n,e.onboardingTestResult=null,e.requestUpdate();try{const r=await e.client.request("integrations.test",{integrationId:n});e.onboardingTestResult={id:n,result:r},e.onboardingTestingId=null,await a(e)}catch(r){e.onboardingTestResult={id:n,result:{success:!1,message:r instanceof Error?r.message:String(r)}},e.onboardingTestingId=null,e.requestUpdate()}}}async function u(e,n,r){if(!(!e.client||!e.connected))try{await e.client.request("integrations.configure",{integrationId:n,values:r}),await t(e,n)}catch(i){console.error("[onboarding-setup] Failed to configure:",i),e.onboardingTestResult={id:n,result:{success:!1,message:i instanceof Error?i.message:String(i)}},e.requestUpdate()}}function c(e,n,r){e.onboardingConfigValues||(e.onboardingConfigValues={}),e.onboardingConfigValues[n]=r}function g(e,n){e.onboardingExpandedCard=null,e.onboardingActiveGuide=null,e.onboardingTestResult=null,e.requestUpdate()}async function l(e){if(!(!e.client||!e.connected))try{await e.client.request("onboarding.complete",{})}catch(n){console.error("[onboarding-setup] Failed to mark complete:",n)}}export{u as configureIntegration,o as expandCard,d as loadGuide,a as loadIntegrations,l as markComplete,g as skipIntegration,t as testIntegration,c as updateConfigValue};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<link rel="icon" href="./favicon.svg?v=2" type="image/svg+xml" />
|
|
9
9
|
<link rel="icon" href="./favicon.ico?v=2" sizes="16x16 32x32 48x48" />
|
|
10
10
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" sizes="180x180" />
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-DSS-Mmm_.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DLms34x3.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
15
|
<script>
|