habits 1.2.22 → 1.2.25
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/app/main.cjs +122 -14
- package/app/main.cjs.map +3 -3
- package/base-server/61.index.cjs.js +14 -0
- package/base-server/index.cjs +16 -14
- package/pack/index.cjs +122 -14
- package/package.json +1 -1
package/app/main.cjs
CHANGED
|
@@ -247005,6 +247005,127 @@ async function startBaseServer(options) {
|
|
|
247005
247005
|
};
|
|
247006
247006
|
}
|
|
247007
247007
|
|
|
247008
|
+
// packages/habits/app/src/modules.ts
|
|
247009
|
+
var defaultModules = {
|
|
247010
|
+
modules: [
|
|
247011
|
+
{
|
|
247012
|
+
framework: "bits",
|
|
247013
|
+
source: "npm",
|
|
247014
|
+
repository: "@ha-bits/bit-intersect"
|
|
247015
|
+
},
|
|
247016
|
+
{
|
|
247017
|
+
framework: "bits",
|
|
247018
|
+
source: "npm",
|
|
247019
|
+
repository: "@ha-bits/bit-if"
|
|
247020
|
+
},
|
|
247021
|
+
{
|
|
247022
|
+
framework: "bits",
|
|
247023
|
+
source: "npm",
|
|
247024
|
+
repository: "@ha-bits/bit-loop"
|
|
247025
|
+
},
|
|
247026
|
+
{
|
|
247027
|
+
framework: "bits",
|
|
247028
|
+
source: "npm",
|
|
247029
|
+
repository: "@ha-bits/bit-openai"
|
|
247030
|
+
},
|
|
247031
|
+
{
|
|
247032
|
+
framework: "bits",
|
|
247033
|
+
source: "npm",
|
|
247034
|
+
repository: "@ha-bits/bit-string"
|
|
247035
|
+
},
|
|
247036
|
+
{
|
|
247037
|
+
framework: "bits",
|
|
247038
|
+
source: "npm",
|
|
247039
|
+
repository: "@ha-bits/bit-httpbin"
|
|
247040
|
+
},
|
|
247041
|
+
{
|
|
247042
|
+
framework: "bits",
|
|
247043
|
+
source: "npm",
|
|
247044
|
+
repository: "@ha-bits/bit-any-of"
|
|
247045
|
+
},
|
|
247046
|
+
{
|
|
247047
|
+
framework: "bits",
|
|
247048
|
+
source: "npm",
|
|
247049
|
+
repository: "@ha-bits/bit-auth"
|
|
247050
|
+
},
|
|
247051
|
+
{
|
|
247052
|
+
framework: "bits",
|
|
247053
|
+
source: "npm",
|
|
247054
|
+
repository: "@ha-bits/bit-cookie"
|
|
247055
|
+
},
|
|
247056
|
+
{
|
|
247057
|
+
framework: "bits",
|
|
247058
|
+
source: "npm",
|
|
247059
|
+
repository: "@ha-bits/bit-crm"
|
|
247060
|
+
},
|
|
247061
|
+
{
|
|
247062
|
+
framework: "bits",
|
|
247063
|
+
source: "npm",
|
|
247064
|
+
repository: "@ha-bits/bit-database"
|
|
247065
|
+
},
|
|
247066
|
+
{
|
|
247067
|
+
framework: "bits",
|
|
247068
|
+
source: "npm",
|
|
247069
|
+
repository: "@ha-bits/bit-discord"
|
|
247070
|
+
},
|
|
247071
|
+
{
|
|
247072
|
+
framework: "bits",
|
|
247073
|
+
source: "npm",
|
|
247074
|
+
repository: "@ha-bits/bit-email"
|
|
247075
|
+
},
|
|
247076
|
+
{
|
|
247077
|
+
framework: "bits",
|
|
247078
|
+
source: "npm",
|
|
247079
|
+
repository: "@ha-bits/bit-filesystem"
|
|
247080
|
+
},
|
|
247081
|
+
{
|
|
247082
|
+
framework: "bits",
|
|
247083
|
+
source: "npm",
|
|
247084
|
+
repository: "@ha-bits/bit-github"
|
|
247085
|
+
},
|
|
247086
|
+
{
|
|
247087
|
+
framework: "bits",
|
|
247088
|
+
source: "npm",
|
|
247089
|
+
repository: "@ha-bits/bit-hello-world"
|
|
247090
|
+
},
|
|
247091
|
+
{
|
|
247092
|
+
framework: "bits",
|
|
247093
|
+
source: "npm",
|
|
247094
|
+
repository: "@ha-bits/bit-http"
|
|
247095
|
+
},
|
|
247096
|
+
{
|
|
247097
|
+
framework: "bits",
|
|
247098
|
+
source: "npm",
|
|
247099
|
+
repository: "@ha-bits/bit-jsonplaceholder"
|
|
247100
|
+
},
|
|
247101
|
+
{
|
|
247102
|
+
framework: "bits",
|
|
247103
|
+
source: "npm",
|
|
247104
|
+
repository: "@ha-bits/bit-slack"
|
|
247105
|
+
},
|
|
247106
|
+
{
|
|
247107
|
+
framework: "bits",
|
|
247108
|
+
source: "npm",
|
|
247109
|
+
repository: "@ha-bits/bit-tasks"
|
|
247110
|
+
},
|
|
247111
|
+
{
|
|
247112
|
+
framework: "bits",
|
|
247113
|
+
source: "npm",
|
|
247114
|
+
repository: "@ha-bits/bit-telegram"
|
|
247115
|
+
},
|
|
247116
|
+
{
|
|
247117
|
+
framework: "bits",
|
|
247118
|
+
source: "npm",
|
|
247119
|
+
repository: "@ha-bits/bit-text"
|
|
247120
|
+
},
|
|
247121
|
+
{
|
|
247122
|
+
framework: "bits",
|
|
247123
|
+
source: "npm",
|
|
247124
|
+
repository: "@ha-bits/bit-whatsapp"
|
|
247125
|
+
}
|
|
247126
|
+
]
|
|
247127
|
+
};
|
|
247128
|
+
|
|
247008
247129
|
// packages/base/server/src/sea-generator.ts
|
|
247009
247130
|
var fs12 = __toESM(require("fs"));
|
|
247010
247131
|
var path18 = __toESM(require("path"));
|
|
@@ -248569,20 +248690,7 @@ async function runInitCommand(argv) {
|
|
|
248569
248690
|
const envContent = `HABITS_MODULES_MODE=open
|
|
248570
248691
|
HABITS_ALLOW_SERVE=true
|
|
248571
248692
|
`;
|
|
248572
|
-
const modulesContent =
|
|
248573
|
-
modules: [
|
|
248574
|
-
{
|
|
248575
|
-
framework: "activepieces",
|
|
248576
|
-
source: "npm",
|
|
248577
|
-
repository: "@ha-bits/piece-intersect"
|
|
248578
|
-
},
|
|
248579
|
-
{
|
|
248580
|
-
framework: "activepieces",
|
|
248581
|
-
source: "npm",
|
|
248582
|
-
repository: "@activepieces/piece-openai"
|
|
248583
|
-
}
|
|
248584
|
-
]
|
|
248585
|
-
};
|
|
248693
|
+
const modulesContent = defaultModules;
|
|
248586
248694
|
if (fs18.existsSync(envPath) && !argv.force) {
|
|
248587
248695
|
console.log(`\u26A0\uFE0F .env already exists (use --force to overwrite)`);
|
|
248588
248696
|
} else {
|