@devory/core 0.1.1 → 0.3.1
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 +12 -0
- package/dist/index.js +3464 -94
- package/package.json +13 -3
- package/src/defaults/execution-policy.json +72 -0
- package/src/defaults/human-interruption-policy.json +19 -0
- package/src/defaults/unattended-stall-policy.json +10 -0
- package/src/index.ts +342 -20
- package/src/factory-environment.test.ts +0 -99
- package/src/factory-environment.ts +0 -103
- package/src/license.ts +0 -152
- package/src/parse.test.ts +0 -161
- package/src/parse.ts +0 -103
- package/src/standards.ts +0 -283
package/README.md
CHANGED
|
@@ -35,6 +35,18 @@ const paths = factoryPaths(env.root)
|
|
|
35
35
|
- `TaskMeta` — frontmatter fields for a Devory task file
|
|
36
36
|
- `FactoryEnvironment` — resolved root, mode, and source
|
|
37
37
|
- `FactoryPaths` — all well-known directories in a factory workspace
|
|
38
|
+
- `LicenseInfo` / `LicenseStatus` — resolved tier, source, verification, and cache state
|
|
39
|
+
|
|
40
|
+
## License Helpers
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
import { detectTier, getLicenseStatus, writeLicenseToken, clearLicenseToken } from '@devory/core'
|
|
44
|
+
|
|
45
|
+
const tier = await detectTier('/path/to/workspace')
|
|
46
|
+
const status = await getLicenseStatus('/path/to/workspace')
|
|
47
|
+
writeLicenseToken('/path/to/workspace', 'devory_pro_...')
|
|
48
|
+
clearLicenseToken('/path/to/workspace')
|
|
49
|
+
```
|
|
38
50
|
|
|
39
51
|
## Requirements
|
|
40
52
|
|