@aopslabs/aops 0.3.34 → 0.3.35

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.
@@ -1766,6 +1766,9 @@ function buildDocMirrorFile(params) {
1766
1766
  scopeId: params.resolvedContext.scopeId,
1767
1767
  groupId: params.document.groupId,
1768
1768
  groupUid: params.document.groupUid,
1769
+ documentStatus: params.document.status,
1770
+ visibility: params.document.visibility,
1771
+ tags: toStringArray(params.document.tags),
1769
1772
  documentId: recordId(params.document, 'documentId'),
1770
1773
  documentVersionId: recordId(params.documentVersion, 'documentVersionId'),
1771
1774
  documentVersion: params.documentVersion.version,
@@ -686,22 +686,29 @@ function sourcePackage(root) {
686
686
  throw new Error('community_native_source_package_json_invalid');
687
687
  }
688
688
  }
689
+ function normalizePublicPackageManager(value) {
690
+ return typeof value === 'string' && PUBLIC_PACKAGE_MANAGER.test(value) ? value : null;
691
+ }
689
692
  function sourceLayout(root, manifest = sourcePackage(root)) {
693
+ const checkoutPackageManager = normalizePublicPackageManager(manifest.packageManager);
690
694
  if (manifest.name === PUBLIC_ROOT_NAME && manifest.private === true &&
691
695
  typeof manifest.version === 'string' && RELEASE_VERSION.test(manifest.version) &&
692
- typeof manifest.packageManager === 'string' && PUBLIC_PACKAGE_MANAGER.test(manifest.packageManager)) {
696
+ checkoutPackageManager) {
693
697
  return {
694
698
  kind: 'checkout',
699
+ packageManager: checkoutPackageManager,
695
700
  requiredSourcePaths: CHECKOUT_REQUIRED_SOURCE_PATHS,
696
701
  lockfilePath: 'pnpm-lock.yaml',
697
702
  buildPaths: CHECKOUT_BUILD_PATHS,
698
703
  };
699
704
  }
705
+ const packagedBuildPackageManager = normalizePublicPackageManager(manifest.aopsBuildPackageManager);
700
706
  if (manifest.name === PUBLIC_SERVER_PACKAGE_NAME && manifest.private !== true &&
701
707
  typeof manifest.version === 'string' && RELEASE_VERSION.test(manifest.version) &&
702
- typeof manifest.packageManager === 'string' && PUBLIC_PACKAGE_MANAGER.test(manifest.packageManager)) {
708
+ packagedBuildPackageManager) {
703
709
  return {
704
710
  kind: 'npm-package',
711
+ packageManager: packagedBuildPackageManager,
705
712
  requiredSourcePaths: PACKAGE_REQUIRED_SOURCE_PATHS,
706
713
  lockfilePath: 'package.json',
707
714
  buildPaths: PACKAGE_BUILD_PATHS,
@@ -759,7 +766,7 @@ export function inspectCommunityNativeSource(sourceRoot = process.cwd()) {
759
766
  const sourceInventory = inventoryCommunityNativeTree(root, SOURCE_INVENTORY_EXCLUDED_DIRECTORIES);
760
767
  return {
761
768
  root,
762
- packageManager: manifest.packageManager,
769
+ packageManager: layout.packageManager,
763
770
  releaseVersion: manifest.version,
764
771
  packageSha256,
765
772
  lockfileSha256,
@@ -767,7 +774,7 @@ export function inspectCommunityNativeSource(sourceRoot = process.cwd()) {
767
774
  sourceInventorySha256: sourceInventory.sha256,
768
775
  sourceFingerprint: sha256(JSON.stringify({
769
776
  root,
770
- packageManager: manifest.packageManager,
777
+ packageManager: layout.packageManager,
771
778
  releaseVersion: manifest.version,
772
779
  packageSha256,
773
780
  lockfileSha256,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aopslabs/aops",
3
- "version": "0.3.34",
3
+ "version": "0.3.35",
4
4
  "type": "module",
5
5
  "description": "AOPS CLI and terminal setup application.",
6
6
  "aopsDockerServerVersion": "0.2.17",
@@ -40,10 +40,10 @@
40
40
  "@openai/codex-sdk": "0.149.0",
41
41
  "@anthropic-ai/claude-agent-sdk": "0.3.241",
42
42
  "@opencode-ai/sdk": "1.18.21",
43
+ "@aopslabs/aops-agent-runtime": "0.1.1",
44
+ "@aopslabs/aops-server": "0.2.29",
43
45
  "@aopslabs/aops-host-registration": "0.2.3",
44
46
  "@aopslabs/aops-pg-bootstrap": "0.2.9",
45
- "@aopslabs/aops-server": "0.2.28",
46
- "@aopslabs/aops-agent-runtime": "0.1.1",
47
47
  "@aopslabs/aops-runtime-config": "0.2.3",
48
48
  "@aopslabs/api-client": "0.2.3"
49
49
  },