@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 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